From ee31565b48fbaea17970ed150235d9f069531a2c Mon Sep 17 00:00:00 2001 From: Stefan Dej Date: Sat, 16 Dec 2023 18:21:30 +0100 Subject: [PATCH] fix: fix panels squeezed on mobile when navi is open Signed-off-by: Stefan Dej --- src/App.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/App.vue b/src/App.vue index 0af7f9de4..065416668 100644 --- a/src/App.vue +++ b/src/App.vue @@ -102,8 +102,10 @@ export default class App extends Mixins(BaseMixin, ThemeMixin) { } // overwrite padding left for the sidebar - if (this.naviDrawer && this.navigationStyle === 'iconsAndText') style.paddingLeft = '220px' - if (this.naviDrawer && this.navigationStyle === 'iconsOnly') style.paddingLeft = '56px' + if (this.naviDrawer && !this.$vuetify.breakpoint.mdAndDown) { + if (this.navigationStyle === 'iconsAndText') style.paddingLeft = '220px' + if (this.navigationStyle === 'iconsOnly') style.paddingLeft = '56px' + } return style }