diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index 05e15af..473d20f 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -1,6 +1,7 @@ @@ -60,11 +68,12 @@ import RuoYiDoc from '@/components/RuoYi/Doc' import useAppStore from '@/store/modules/app' import useUserStore from '@/store/modules/user' import useSettingsStore from '@/store/modules/settings' +import defaultSettings from "@/settings.js"; const appStore = useAppStore() const userStore = useUserStore() const settingsStore = useSettingsStore() - +const title = defaultSettings.title function toggleSideBar() { appStore.toggleSideBar() } @@ -164,7 +173,7 @@ function setLayout() { } .avatar-container { - margin-right: 40px; + margin-right: 10px; .avatar-wrapper { margin-top: 5px; @@ -187,5 +196,9 @@ function setLayout() { } } } + .user-name{ + display: flex; + align-items: center; + } } diff --git a/src/layout/index.vue b/src/layout/index.vue index c4d654e..256efd5 100644 --- a/src/layout/index.vue +++ b/src/layout/index.vue @@ -1,6 +1,6 @@