食材を追加ボタンの配置を修正しました

feature-frontend-stock-suzuki
Yuna.Suzuki 4 months ago
parent 3d82e2fe82
commit 6d26f00e31
  1. 9
      frontend/src/pages/StockPage.tsx

@ -330,7 +330,7 @@ const StockPage: React.FC = () => {
<Table>
<TableHead sx={{ backgroundColor: "#dcdcdc", color: "#333" }}>
<TableRow>
<TableCell align="center" sx={{ width: '40%', fontSize: '16px'}}></TableCell>
<TableCell align="center" sx={{ width: '40%', fontSize: '16px' }}></TableCell>
<TableCell align="center" sx={{ width: '20%', fontSize: '16px' }}></TableCell>
<TableCell align="center" sx={{ width: '40%', fontSize: '16px' }}></TableCell>
</TableRow>
@ -530,12 +530,15 @@ const StockPage: React.FC = () => {
<Box
sx={{
position: 'fixed', // ← sticky から fixed に変更
bottom: 0, // ← 下に固定
bottom: 55, // ← 下に固定
left: 0,
right: 0,
zIndex: 1300, // ダイアログよりは低く
backgroundColor: '#f5f5f5',
padding: 2,
// backgroundColor: 'white',
// padding: 2,
px: 2,
py: 1,
display: 'flex',
justifyContent: 'flex-end', // ← 左寄せ
boxShadow: 'none', // 軽めの上向きシャドウ

Loading…
Cancel
Save