feat: temp shitty fixes to alexender know how to do better

This commit is contained in:
2025-08-20 12:17:19 +03:00
parent 7dba5b5ed9
commit 32ea2aa060
7 changed files with 55 additions and 57 deletions

View File

@ -1,5 +1,5 @@
import { IconPlus } from "@tabler/icons-react";
import { Box, Space } from "@mantine/core";
import { Box, Flex } from "@mantine/core";
import { useBoardsContext } from "@/app/deals/contexts/BoardsContext";
import InPlaceInput from "@/components/ui/InPlaceInput/InPlaceInput";
import styles from "./CreateBoardButton.module.css";
@ -8,7 +8,7 @@ const CreateBoardButton = () => {
const { onCreateBoard } = useBoardsContext();
return (
<>
<Flex style={{borderBottom: "2px solid gray"}}>
<InPlaceInput
placeholder={"Название доски"}
onComplete={onCreateBoard}
@ -20,17 +20,8 @@ const CreateBoardButton = () => {
</Box>
)}
modalTitle={"Создание доски"}
inputStyles={{
wrapper: {
paddingTop: 3,
paddingBottom: 4,
paddingInline: 15,
borderBottom: "2px solid gray",
},
}}
/>
<Space className={styles.spacer} />
</>
</Flex>
);
};