diff --git a/apps/admin-panel/src/views/apps/product/AddProduct.vue b/apps/admin-panel/src/views/apps/product/AddProduct.vue index 300ad05..c126524 100644 --- a/apps/admin-panel/src/views/apps/product/AddProduct.vue +++ b/apps/admin-panel/src/views/apps/product/AddProduct.vue @@ -1568,4 +1568,23 @@ onMounted(async () => { width: 100%; } } + +/* Variant modal on narrow screens: one column, full width, scrollable body. */ +@media (max-width: 767px) { + .pf-variant-modal .ant-modal { + max-width: calc(100vw - 16px); + width: calc(100vw - 16px) !important; + margin: 0 auto; + } + .vmodal-cols { + grid-template-columns: 1fr; + } + .vmodal-form { + max-height: calc(100vh - 190px); + overflow-y: auto; + } + .vmodal-grid--2 { + grid-template-columns: 1fr; + } +} diff --git a/apps/user-app/src/components/product/CartItem.vue b/apps/user-app/src/components/product/CartItem.vue index fcb3ab3..c2fddb9 100644 --- a/apps/user-app/src/components/product/CartItem.vue +++ b/apps/user-app/src/components/product/CartItem.vue @@ -27,6 +27,7 @@ اجرت {{ wageLabel }}٪
اجرت ریالی {{ price(rialPay) }} ریال
+
جمع اجرت {{ price(rialPay * value.qty) }} ریال
diff --git a/apps/user-app/src/views/CartView.vue b/apps/user-app/src/views/CartView.vue index cafbf60..1c36201 100644 --- a/apps/user-app/src/views/CartView.vue +++ b/apps/user-app/src/views/CartView.vue @@ -79,15 +79,21 @@
-
- جمع وزن - - {{ cart.total() }} - گرم - - - + اجرت ریالی {{ price(cart.totalRial()) }} ریال - +
+
+ جمع وزن + + {{ cart.total() }} + گرم + +
+
+ جمع اجرت ریالی + + {{ price(cart.totalRial()) }} + ریال + +
@@ -378,6 +384,12 @@ onMounted(async () => { gap: 14px; } +.cart__totals { + display: flex; + align-items: flex-start; + gap: 22px; +} + .cart__total { display: flex; flex-direction: column; @@ -394,16 +406,6 @@ onMounted(async () => { font-weight: 800; color: @ink; } -.cart__totalRial { - font-size: 11.5px; - font-weight: 700; - color: @inkSoft; -} -.cart__totalRial i { - font-style: normal; - font-weight: 600; - color: @inkFaint; -} .cart__totalValue i { font-style: normal; font-size: 11px; diff --git a/apps/user-app/src/views/expert/ChildOrdersView.vue b/apps/user-app/src/views/expert/ChildOrdersView.vue index adf17ad..3b95f5f 100644 --- a/apps/user-app/src/views/expert/ChildOrdersView.vue +++ b/apps/user-app/src/views/expert/ChildOrdersView.vue @@ -544,7 +544,7 @@ onBeforeUnmount(() => observer?.disconnect()) .cho__error { margin: 10px 0 0; font-size: 12.5px; - color: #c0392b; + color: @red; } .cho__actions {