diff --git a/src/layouts/default/header/components/user-dropdown/index.vue b/src/layouts/default/header/components/user-dropdown/index.vue index 79dbcda..b8b7035 100644 --- a/src/layouts/default/header/components/user-dropdown/index.vue +++ b/src/layouts/default/header/components/user-dropdown/index.vue @@ -94,15 +94,11 @@ function handleMenuClick(e: MenuInfo) { @@ -124,6 +120,7 @@ function handleMenuClick(e: MenuInfo) { &__avatar { margin-right: 5px; + border-radius: 50%; } &__name { diff --git a/src/layouts/default/header/index.less b/src/layouts/default/header/index.less index 9dd9a1a..ecb0fc6 100644 --- a/src/layouts/default/header/index.less +++ b/src/layouts/default/header/index.less @@ -55,7 +55,6 @@ &-logo { min-width: 192px; height: @header-height; - padding: 0 10px; font-size: 14px; img { @@ -116,7 +115,7 @@ display: flex !important; align-items: center; height: @header-height; - padding: 0 2px; + padding: 0 8px; font-size: 1.2em; cursor: pointer; @@ -146,7 +145,6 @@ .@{header-prefix-cls}-action { &__item { .app-iconify { - padding: 0 10px; font-size: 16px !important; } @@ -170,7 +168,6 @@ .@{header-prefix-cls}-action { &__item { .app-iconify { - padding: 0 10px; font-size: 16px !important; } diff --git a/src/layouts/default/header/index.vue b/src/layouts/default/header/index.vue index ed697aa..0816e85 100644 --- a/src/layouts/default/header/index.vue +++ b/src/layouts/default/header/index.vue @@ -87,12 +87,10 @@ const getMenuMode = computed(() => {
- - + +
@@ -105,7 +103,7 @@ const getMenuMode = computed(() => {
- + @@ -113,9 +111,10 @@ const getMenuMode = computed(() => { - + - +