diff --git a/src/layouts/default/tabs/index.less b/src/layouts/default/tabs/index.less index 2a70122..8a02782 100644 --- a/src/layouts/default/tabs/index.less +++ b/src/layouts/default/tabs/index.less @@ -6,14 +6,26 @@ html[data-theme='dark'] { border-bottom: none !important; } } + .ant-tabs-tab:not(.ant-tabs-tab-active) { + border: none !important; + &:hover { + color: inherit; + background-color: rgba(255, 255, 255, 0.5) !important; + } + } } html[data-theme='light'] { .@{prefix-cls} { .ant-tabs-tab:not(.ant-tabs-tab-active) { border: none !important; + &:hover { + color: inherit; + background-color: #dee1e6; + } } } + } .@{prefix-cls} { @@ -120,12 +132,7 @@ html[data-theme='light'] { } } - .ant-tabs-tab:not(.ant-tabs-tab-active) { - &:hover { - color: inherit; - background-color: #dee1e6; - } - } + .ant-tabs-tab-active { position: relative; diff --git a/src/views/base/login/LoginForm.vue b/src/views/base/login/LoginForm.vue index 35f54fd..86387ab 100644 --- a/src/views/base/login/LoginForm.vue +++ b/src/views/base/login/LoginForm.vue @@ -14,7 +14,13 @@ - +