From de266e538d6f81b146fd6f4cd963d0dbbc1b4979 Mon Sep 17 00:00:00 2001 From: chenli1989 Date: Sat, 26 Mar 2022 14:38:24 +0800 Subject: [PATCH] perf: optimize tabs dropdown-menu style --- src/layouts/default/tabs/index.less | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/layouts/default/tabs/index.less b/src/layouts/default/tabs/index.less index cec94f6f..e6cdeb3d 100644 --- a/src/layouts/default/tabs/index.less +++ b/src/layouts/default/tabs/index.less @@ -181,6 +181,25 @@ html[data-theme='light'] { } } +.ant-tabs-dropdown-menu { + &-title-content { + display: flex; + align-items: center; + + .@{prefix-cls} { + &-content__info { + width: auto; + margin-left: 0; + line-height: 28px; + } + } + } + + &-item-remove { + margin-left: auto; + } +} + .multiple-tabs__dropdown { .ant-dropdown-content { width: 172px; -- GitLab