Skip to content

Commit

Permalink
fix: optimize tab style
Browse files Browse the repository at this point in the history
  • Loading branch information
suyuan32 committed Jan 22, 2024
1 parent 8c8f983 commit 36ec810
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/layouts/default/tabs/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ html[data-theme='light'] {
.@{prefix-cls-default-layout}-out {
&.ant-layout-auto-collapse-tabs {
.@{prefix-cls} {
margin-top: -(@multiple-height + 2);
margin-top: -(@multiple-height);
opacity: 0.1;

&:hover,
Expand Down Expand Up @@ -70,9 +70,9 @@ html[data-theme='light'] {

.ant-tabs-tab-remove {
width: 8px;
height: 28px;
margin-right: -4px;
margin-left: 2px;
height: 40px;
margin-right: 1px;
margin-left: 1px;
transition: none;
opacity: 0;
color: inherit;
Expand Down

0 comments on commit 36ec810

Please sign in to comment.