diff --git a/src/menus/SimpleSideMenu.vue b/src/menus/SimpleSideMenu.vue index 0c4b2fa..185cf04 100644 --- a/src/menus/SimpleSideMenu.vue +++ b/src/menus/SimpleSideMenu.vue @@ -30,7 +30,7 @@ along with this program. If not, see . :avatar="settings.avatar" /> . /> + + @@ -628,6 +630,10 @@ const filterConfig = (value) => { return result } +const toggleNav = () => { + document.querySelector('.cm-settings-nav .app-navigation-toggle-wrapper > button').click() +} + onMounted(async () => { config.value = await configStore.getAppConfig() diff --git a/src/scss/admin.scss b/src/scss/admin.scss index 0cd332c..f2e2f8d 100644 --- a/src/scss/admin.scss +++ b/src/scss/admin.scss @@ -15,14 +15,25 @@ * along with this program. If not, see . */ -.cm-settings { - &--nav { - padding-top: 30px; - } +.cm-settings-nav { + padding-top: 30px !important; +} +.cm-settings-nav-toggle { + margin-top: 40px !important; + margin-left: 15px !important; +} + +.cm-settings-nav .app-navigation-toggle-wrapper > button { + display: none; +} + +.cm-settings { &-nav { + max-width: 50vw !important; + .app-navigation__content { - padding: 20px; + padding: 20px 10px 20px 10px; } .app-navigation-entry-icon {