order: enhance UI & styles

This commit is contained in:
2025-12-31 17:46:46 +03:00
parent 2416b37069
commit 1d2c1fda87
16 changed files with 470 additions and 249 deletions

View File

@@ -14,7 +14,7 @@
}
.summaryDivider {
margin: 8px 0 !important;
margin: 0 !important;
}
.totalRow {

View File

@@ -111,7 +111,7 @@ export default function OrderSummary() {
/>
</div>
)}
<Divider className={styles.summaryDivider} style={{ margin: "0" }} />
<Divider className={styles.summaryDivider} />
<div className={`${styles.summaryRow} ${styles.totalRow}`}>
<ProText
style={{
@@ -142,13 +142,12 @@ export default function OrderSummary() {
{isHasLoyaltyGift && restaurant?.is_loyalty_enabled === 1 && (
<>
<br />
<br />
<Checkbox
checked={useLoyaltyPoints}
onChange={(value) => {
dispatch(updateUseLoyaltyPoints(value.target.checked));
}}
style={{ marginTop: 8 }}
>
{t("cart.useLoyaltyPoints")}
</Checkbox>