diff --git a/src/components/Application/src/AppLogo.vue b/src/components/Application/src/AppLogo.vue index 12266cff..f90940c8 100644 --- a/src/components/Application/src/AppLogo.vue +++ b/src/components/Application/src/AppLogo.vue @@ -70,7 +70,6 @@ padding-left: 7px; cursor: pointer; transition: all 0.2s ease; - &.light { // border-bottom: 1px solid @border-color-base; border-bottom: 0; @@ -89,7 +88,7 @@ } &__title { - font-size: 16px; + font-size: 20px; // font-weight: bold; font-family: Arial, Microsoft YaHei, sans-serif; transition: all 0.5s; diff --git a/src/layouts/default/header/index.less b/src/layouts/default/header/index.less index 071bc9e4..54c53a48 100644 --- a/src/layouts/default/header/index.less +++ b/src/layouts/default/header/index.less @@ -57,6 +57,7 @@ padding: 0 10px; font-size: 14px; font-weight: bold; + justify-content: center; img { width: @logo-width; diff --git a/src/layouts/default/header/index.vue b/src/layouts/default/header/index.vue index c057154e..3806340d 100644 --- a/src/layouts/default/header/index.vue +++ b/src/layouts/default/header/index.vue @@ -179,7 +179,7 @@ return {}; } const width = unref(getMenuWidth) < 180 ? 180 : unref(getMenuWidth); - return { width: `${width}px` }; + return { minWidth: `${width}px` }; }); const getSplitType = computed(() => {