feat: temp shitty fixes to alexender know how to do better
This commit is contained in:
@ -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>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user