fix: buttons layout in card form fixed

This commit is contained in:
2025-03-11 00:31:42 +04:00
parent f8ae7c62a2
commit d7c3f41b7b

View File

@@ -114,10 +114,17 @@ const CreateCardForm: FC<Props> = ({ onSubmit, onCancel }) => {
</div>
)}
<div className={styles["buttons"]}>
<Button type={"submit"}>Добавить</Button>
<Button
type={"submit"}
w={"100%"}
>
Добавить
</Button>
<Button
variant={"outline"}
onClick={() => onCancel()}>
onClick={() => onCancel()}
w={"100%"}
>
Отменить
</Button>
</div>