diff --git a/ui/src/css/app.css b/ui/src/css/app.css index aacb3d6..a723fd4 100644 --- a/ui/src/css/app.css +++ b/ui/src/css/app.css @@ -295,18 +295,16 @@ body { margin-top: calc(-1 * var(--header-h) - 58px); } -.body--drawer-left-open .q-page-container { - margin-left: var(--drawer-w); +.body--drawer-left-open .order-page { width: calc(100% - var(--drawer-w)); } -.body--drawer-left-closed .q-page-container { - margin-left: 0; width: 100%; +.body--drawer-left-closed .order-page { + width: 100%; } @media (max-width: 1023px) { - .body--drawer-left-open .q-page-container, - .body--drawer-left-closed .q-page-container { - margin-left: 0 !important; + .body--drawer-left-open .order-page, + .body--drawer-left-closed .order-page { width: 100% !important; } } diff --git a/ui/src/layouts/MainLayout.vue b/ui/src/layouts/MainLayout.vue index e1f8ee8..9c212f8 100644 --- a/ui/src/layouts/MainLayout.vue +++ b/ui/src/layouts/MainLayout.vue @@ -23,7 +23,10 @@ @@ -186,6 +189,15 @@ watch( } ) +watch( + () => $q.screen.lt.md, + (isMobile) => { + if (isMobile) { + leftDrawerOpen.value = false + } + } +) + /* ================= MENU CONFIG ================= */ diff --git a/ui/src/pages/OrderProductionUpdate.vue b/ui/src/pages/OrderProductionUpdate.vue index 49ba160..6ff3dba 100644 --- a/ui/src/pages/OrderProductionUpdate.vue +++ b/ui/src/pages/OrderProductionUpdate.vue @@ -82,6 +82,7 @@ :loading="store.loading" no-data-label="Uretime verilecek urun bulunamadi" :rows-per-page-options="[0]" + :table-style="{ tableLayout: 'fixed', width: '100%' }" hide-bottom > - -