Skip to content

Commit

Permalink
fix: [Toolbar] fix hover
Browse files Browse the repository at this point in the history
  • Loading branch information
akai committed Jun 22, 2022
1 parent c7c4cf0 commit a6a97e7
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/components/Toolbar/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,24 @@

&:hover {
background: transparent;

}
&:active {
.Toolbar-btnIcon {
background: @btn-hover-bg;
}
}
}

@media (hover: hover) {
.Toolbar-btn {
&:hover {
.Toolbar-btnIcon {
background: @btn-hover-bg;
}
}
}
}

@toolbar-icon-size: 30px;

.Toolbar-btnIcon {
Expand Down

0 comments on commit a6a97e7

Please sign in to comment.