diff --git a/src/components/Icons/ReOrderIcon.tsx b/src/components/Icons/ReOrderIcon.tsx index f549769..061216b 100644 --- a/src/components/Icons/ReOrderIcon.tsx +++ b/src/components/Icons/ReOrderIcon.tsx @@ -23,14 +23,14 @@ const ReOrderIcon = ({ className, onClick }: ReOrderIconType) => { fill="#CC9300" /> diff --git a/src/pages/orders/orders.module.css b/src/pages/orders/orders.module.css index eaf20f0..c737c0f 100644 --- a/src/pages/orders/orders.module.css +++ b/src/pages/orders/orders.module.css @@ -54,14 +54,30 @@ border-radius: 30px !important; } -.rateIcon{ +.rateIcon { position: relative; top: 2px; - margin:0 5px; + margin: 0 5px; } -.reorderIcon{ +.reorderIcon { position: relative; top: 2px; - margin:0 5px; -} \ No newline at end of file + margin: 0 5px; +} + +.row { + width: 100%; + padding: 16px 16px 0; + position: fixed; + bottom: 0; + left: 0; + background-color: var(--secondary-background); +} + +.button { + width: 100%; + height: 48px; + margin-bottom: 16px; + box-shadow: none; +} diff --git a/src/pages/orders/page.tsx b/src/pages/orders/page.tsx index 7130d43..84a05d1 100644 --- a/src/pages/orders/page.tsx +++ b/src/pages/orders/page.tsx @@ -2,38 +2,21 @@ import { Button, Row } from "antd"; import ProHeader from "components/ProHeader/ProHeader"; import { useTranslation } from "react-i18next"; import { Link, useParams } from "react-router-dom"; -import { useAppSelector } from "redux/hooks"; -import { ProBlack2 } from "ThemeConstants"; +import styles from "./orders.module.css"; import OrdersList from "./OrdersList"; export default function OrdersPage() { const { t } = useTranslation(); const { id } = useParams(); - const { themeName } = useAppSelector((state) => state.theme); return ( <> {t("orders.title")} - + - diff --git a/src/pages/product/page.tsx b/src/pages/product/page.tsx index f0a3ac4..7412811 100644 --- a/src/pages/product/page.tsx +++ b/src/pages/product/page.tsx @@ -18,7 +18,7 @@ import ProductFooter from "./components/ProductFooter"; import Variants from "./components/Variants"; import styles from "./product.module.css"; -export default function ProductDetailPage({ onClose }: { onClose: () => void }) { +export default function ProductDetailPage({ onClose }: { onClose?: () => void }) { const { isRTL } = useAppSelector((state) => state.locale); const { isDesktop } = useBreakPoint(); const [quantity, setQuantity] = useState(1);