fix(attendance): restore two-column grid on the Docházka landing page
The PageEnter sweep had replaced the left grid column's wrapper with a React Fragment, so its two cards (clock + completed shifts) leaked out as separate grid items and the layout broke (shifts table jumped to the right cell, stat box wrapped to row 2). Wrap the left column back in a <Box> so the 2-col grid has exactly two column children again. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -636,7 +636,7 @@ export default function Attendance() {
|
||||
}}
|
||||
>
|
||||
{/* Left Column - Clock In/Out */}
|
||||
<>
|
||||
<Box>
|
||||
<Card>
|
||||
<Box
|
||||
sx={{
|
||||
@@ -976,7 +976,7 @@ export default function Attendance() {
|
||||
/>
|
||||
</Card>
|
||||
)}
|
||||
</>
|
||||
</Box>
|
||||
|
||||
{/* Right Column - Stats & Quick Links */}
|
||||
<Box sx={{ display: "flex", flexDirection: "column", gap: 3 }}>
|
||||
|
||||
Reference in New Issue
Block a user