fix: roboto font, column scrolling fixed, column input width

This commit is contained in:
2025-08-27 14:44:38 +04:00
parent 44766bb7aa
commit e6001ed59e
6 changed files with 48 additions and 35 deletions

View File

@ -6,6 +6,7 @@
width: fit-content;
@media (max-width: 48em) {
width: 80vw;
height: 73.5vh;
}
}

View File

@ -1,6 +1,6 @@
import React from "react";
import { IconPlus } from "@tabler/icons-react";
import { Box, Center, Group, Stack, Text } from "@mantine/core";
import { Box, Center, Group, Text } from "@mantine/core";
import { useStatusesContext } from "@/app/deals/contexts/StatusesContext";
import InPlaceInput from "@/components/ui/InPlaceInput/InPlaceInput";
import useIsMobile from "@/hooks/utils/useIsMobile";
@ -11,7 +11,7 @@ const CreateStatusButton = () => {
const isMobile = useIsMobile();
return (
<Stack className={styles.container}>
<Box className={styles.container}>
<Box className={styles["inner-container"]}>
<InPlaceInput
placeholder={"Название колонки"}
@ -32,13 +32,17 @@ const CreateStatusButton = () => {
modalTitle={"Создание колонки"}
inputStyles={{
wrapper: {
width: 250,
paddingInline: "var(--mantine-spacing-md)",
paddingBlock: "var(--mantine-spacing-xs)",
},
input: {
width: 250,
},
}}
/>
</Box>
</Stack>
</Box>
);
};

View File

@ -3,7 +3,7 @@
height: calc(100vh - 150px);
@media (max-width: 48em) {
width: 80vw;
height: calc(100vh - 200px);
height: calc(100vh - 215px);
}
}
@ -12,7 +12,7 @@
gap: 0;
@media (max-width: 48em) {
max-height: calc(100vh - 200px);
max-height: calc(100vh - 215px);
}
@mixin light {

View File

@ -30,7 +30,7 @@ const StatusColumnWrapper = ({
scrollbars={"y"}>
<Stack
gap={"xs"}
mah={"calc(100vh - 220px)"}>
mah={"calc(100vh - 285px)"}>
{createFormEnabled && <CreateCardButton />}
{children}
</Stack>