Commit de266e538d6f81b146fd6f4cd963d0dbbc1b4979
1 parent
b85a11d0
perf: optimize tabs dropdown-menu style
Showing
1 changed file
with
19 additions
and
0 deletions
src/layouts/default/tabs/index.less
... | ... | @@ -181,6 +181,25 @@ html[data-theme='light'] { |
181 | 181 | } |
182 | 182 | } |
183 | 183 | |
184 | +.ant-tabs-dropdown-menu { | |
185 | + &-title-content { | |
186 | + display: flex; | |
187 | + align-items: center; | |
188 | + | |
189 | + .@{prefix-cls} { | |
190 | + &-content__info { | |
191 | + width: auto; | |
192 | + margin-left: 0; | |
193 | + line-height: 28px; | |
194 | + } | |
195 | + } | |
196 | + } | |
197 | + | |
198 | + &-item-remove { | |
199 | + margin-left: auto; | |
200 | + } | |
201 | +} | |
202 | + | |
184 | 203 | .multiple-tabs__dropdown { |
185 | 204 | .ant-dropdown-content { |
186 | 205 | width: 172px; | ... | ... |