fix: boards gap on mobile fixed
This commit is contained in:
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user