Skip to content

Commit

Permalink
fix: fix panels squeezed on mobile when navi is open (#1690)
Browse files Browse the repository at this point in the history
  • Loading branch information
meteyou authored Dec 16, 2023
1 parent af5a3e1 commit a56e50d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit a56e50d

Please sign in to comment.