fixes
This commit is contained in:
@@ -29,18 +29,14 @@
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
/* Dark theme support */
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.loadingContainer {
|
||||
background-color: #343a40;
|
||||
}
|
||||
|
||||
.loadingState {
|
||||
background-color: #343a40;
|
||||
}
|
||||
|
||||
.errorState {
|
||||
background-color: #45232a;
|
||||
color: #f8d7da;
|
||||
}
|
||||
:global(.darkApp) .loadingContainer {
|
||||
background-color: #343a40;
|
||||
}
|
||||
|
||||
:global(.darkApp) .loadingState {
|
||||
background-color: #343a40;
|
||||
}
|
||||
|
||||
:global(.darkApp) .errorState {
|
||||
background-color: #45232a;
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@ export default function OrderSummary() {
|
||||
<ProText type="secondary">{t("cart.basketTotal")}</ProText>
|
||||
<ArabicPrice price={subtotal} />
|
||||
</div>
|
||||
{orderType != OrderType.DineIn && (
|
||||
{orderType === OrderType.Delivery && (
|
||||
<div className={styles.summaryRow}>
|
||||
<ProText type="secondary">{t("cart.deliveryFee")}</ProText>
|
||||
<ArabicPrice price={Number(restaurant?.delivery_fees || 0)} />
|
||||
|
||||
Reference in New Issue
Block a user