cart: Special request > adjust border radius
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
import { Button, Input, Modal } from "antd";
|
import { Button, Input, Modal } from "antd";
|
||||||
import { useEffect, useState } from "react";
|
import { useEffect, useState } from "react";
|
||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
|
import styles from "./SpecialRequestCard.module.css";
|
||||||
|
|
||||||
const { TextArea } = Input;
|
const { TextArea } = Input;
|
||||||
|
|
||||||
@@ -40,10 +41,19 @@ export function Dialog({
|
|||||||
open={isOpen}
|
open={isOpen}
|
||||||
onCancel={handleCancel}
|
onCancel={handleCancel}
|
||||||
footer={[
|
footer={[
|
||||||
<Button key="cancel" onClick={handleCancel}>
|
<Button
|
||||||
|
key="cancel"
|
||||||
|
onClick={handleCancel}
|
||||||
|
className={styles.actionButton}
|
||||||
|
>
|
||||||
{t("cart.cancel")}
|
{t("cart.cancel")}
|
||||||
</Button>,
|
</Button>,
|
||||||
<Button key="save" type="primary" onClick={handleSave}>
|
<Button
|
||||||
|
key="save"
|
||||||
|
type="primary"
|
||||||
|
onClick={handleSave}
|
||||||
|
className={styles.actionButton}
|
||||||
|
>
|
||||||
{t("cart.save")}
|
{t("cart.save")}
|
||||||
</Button>,
|
</Button>,
|
||||||
]}
|
]}
|
||||||
@@ -58,6 +68,7 @@ export function Dialog({
|
|||||||
placeholder={t("cart.specialRequest")}
|
placeholder={t("cart.specialRequest")}
|
||||||
rows={6}
|
rows={6}
|
||||||
autoFocus={false}
|
autoFocus={false}
|
||||||
|
className={styles.textArea}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -6,4 +6,11 @@
|
|||||||
color: var(--primary, #FFB700);
|
color: var(--primary, #FFB700);
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.textArea{
|
||||||
|
border-radius: 24px;
|
||||||
|
}
|
||||||
|
.actionButton{
|
||||||
|
border-radius: 24px;
|
||||||
|
width: 100px;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user