diff --git a/apps/admin-panel/src/views/apps/product/AddProduct.vue b/apps/admin-panel/src/views/apps/product/AddProduct.vue index ade1138..e35ad3e 100644 --- a/apps/admin-panel/src/views/apps/product/AddProduct.vue +++ b/apps/admin-panel/src/views/apps/product/AddProduct.vue @@ -1551,4 +1551,26 @@ 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; + } + .vmodal-picker { + flex-wrap: wrap; + } +} diff --git a/apps/user-app-v2/src/components/product/CartItem.vue b/apps/user-app-v2/src/components/product/CartItem.vue index cd4ccc6..d58ef0b 100644 --- a/apps/user-app-v2/src/components/product/CartItem.vue +++ b/apps/user-app-v2/src/components/product/CartItem.vue @@ -32,6 +32,10 @@ اجرت ریالی {{ price(rialWage) }} ریال +

+ جمع اجرت {{ price(rialWage * value.qty) }} ریال +

+