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 @@