Skip to content

Commit

Permalink
fix(tabs): hover disable not show active (#557)
Browse files Browse the repository at this point in the history
  • Loading branch information
LuckyFBB authored Mar 19, 2024
1 parent e2f757b commit 0950f0a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions theme/dt-theme/default/tab.less
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,6 @@
margin-right: 24px;
margin-left: 0;
line-height: 20px;
&:hover {
color: @primaryColor;
.ant-tabs-tab-btn {
.anticon {
color: @primaryColor;
}
}
}
.ant-tabs-tab-btn {
.anticon {
margin-right: 4px;
Expand All @@ -24,6 +16,14 @@
}
}
.ant-tabs-tab-active {
&:hover {
color: @primaryColor;
.ant-tabs-tab-btn {
.anticon {
color: @primaryColor;
}
}
}
.ant-tabs-tab-btn {
.anticon {
color: @primaryColor;
Expand Down

0 comments on commit 0950f0a

Please sign in to comment.