fix: buttons layout in card form fixed
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user