From cbaef4cc6c35c01d118b889b18abca4b8cf7d24d Mon Sep 17 00:00:00 2001 From: ibuler Date: Fri, 17 May 2024 19:08:24 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BF=AE=E6=94=B9=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/NavHeader/Organization.vue | 8 ++++++-- src/layout/components/NavHeader/index.vue | 2 +- src/layout/components/NavLeft/Logo.vue | 4 ++-- src/layout/components/NavLeft/index.vue | 9 ++------- 4 files changed, 11 insertions(+), 12 deletions(-) diff --git a/src/layout/components/NavHeader/Organization.vue b/src/layout/components/NavHeader/Organization.vue index da54f0c95..ff95cc624 100644 --- a/src/layout/components/NavHeader/Organization.vue +++ b/src/layout/components/NavHeader/Organization.vue @@ -130,10 +130,14 @@ export default { @import '~@/styles/variables.scss'; $height: 28px; +.org-select { + line-height: $height; +} + ::v-deep .el-input { .el-input__inner { - height: 28px; - line-height: 28px; + height: $height; + line-height: $height; background: none; border: none; padding-left: 20px; diff --git a/src/layout/components/NavHeader/index.vue b/src/layout/components/NavHeader/index.vue index 4d252b1ba..5b44fad72 100644 --- a/src/layout/components/NavHeader/index.vue +++ b/src/layout/components/NavHeader/index.vue @@ -160,13 +160,13 @@ export default { .organization { display: flex; align-items: center; - line-height: 28px; padding: 0 0 0 15px !important; border-radius: 3px; background-color: rgba(255, 255, 255, .15); color: #fff; font-weight: 600; font-size: 15px; + max-width: 250px; ::v-deep .el-input__inner { padding-left: 25px; diff --git a/src/layout/components/NavLeft/Logo.vue b/src/layout/components/NavLeft/Logo.vue index c46e8f746..77ebecf79 100644 --- a/src/layout/components/NavLeft/Logo.vue +++ b/src/layout/components/NavLeft/Logo.vue @@ -13,6 +13,7 @@