fix: boards gap on mobile fixed

This commit is contained in:
2025-08-25 20:15:31 +04:00
parent cc5ccf86a4
commit 226e52a1c6
2 changed files with 18 additions and 5 deletions

View File

@ -2,4 +2,7 @@
@media (min-width: 48em) { @media (min-width: 48em) {
max-width: calc(100vw - 450px); max-width: calc(100vw - 450px);
} }
@media (max-width: 48em) {
max-width: 100vw;
}
} }

View File

@ -16,16 +16,20 @@ const Header = () => {
const { openDrawer } = useDrawersContext(); const { openDrawer } = useDrawersContext();
const isMobile = useIsMobile(); const isMobile = useIsMobile();
const spacer = (
<Box
flex={1}
style={{ borderBottom: "2px solid gray" }}
/>
);
const getDesktopHeader = () => { const getDesktopHeader = () => {
return ( return (
<Flex <Flex
wrap={"nowrap"} wrap={"nowrap"}
justify={"space-between"}> justify={"space-between"}>
<Boards /> <Boards />
<Box {spacer}
flex={1}
style={{ borderBottom: "2px solid gray" }}
/>
<Flex <Flex
align={"center"} align={"center"}
style={{ style={{
@ -85,7 +89,13 @@ const Header = () => {
<IconSettings /> <IconSettings />
</Box> </Box>
</Group> </Group>
<Boards /> <Group
wrap={"nowrap"}
gap={0}
align={"end"}>
<Boards />
{spacer}
</Group>
</> </>
); );
}; };