feat: margin for a carousel container
This commit is contained in:
@ -7,6 +7,5 @@
|
|||||||
|
|
||||||
@media (max-width: 48em) {
|
@media (max-width: 48em) {
|
||||||
width: 80vw;
|
width: 80vw;
|
||||||
margin-right: 8vw;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -20,11 +20,12 @@ const CreateStatusButton = () => {
|
|||||||
<Center
|
<Center
|
||||||
p={"sm"}
|
p={"sm"}
|
||||||
onClick={() => startEditing()}>
|
onClick={() => startEditing()}>
|
||||||
<Group gap={"xs"} wrap={"nowrap"} align={"start"}>
|
<Group
|
||||||
|
gap={"xs"}
|
||||||
|
wrap={"nowrap"}
|
||||||
|
align={"start"}>
|
||||||
<IconPlus />
|
<IconPlus />
|
||||||
{isMobile && (
|
{isMobile && <Text>Добавить</Text>}
|
||||||
<Text>Добавить</Text>
|
|
||||||
)}
|
|
||||||
</Group>
|
</Group>
|
||||||
</Center>
|
</Center>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@ -94,11 +94,16 @@ const FunnelDnd = <
|
|||||||
if (isMobile) {
|
if (isMobile) {
|
||||||
return (
|
return (
|
||||||
<Carousel
|
<Carousel
|
||||||
slideSize={"80%"}
|
slideSize={"90%"}
|
||||||
slideGap={"md"}
|
slideGap={"md"}
|
||||||
pb={"xl"}
|
pb={"xl"}
|
||||||
withControls={false}
|
withControls={false}
|
||||||
withIndicators
|
withIndicators
|
||||||
|
styles={{
|
||||||
|
container: {
|
||||||
|
marginInline: "10vw",
|
||||||
|
},
|
||||||
|
}}
|
||||||
classNames={styles}>
|
classNames={styles}>
|
||||||
{renderContainers()}
|
{renderContainers()}
|
||||||
<CreateStatusButton />
|
<CreateStatusButton />
|
||||||
|
|||||||
Reference in New Issue
Block a user