Skip to content

Commit

Permalink
fix(style): fix button group styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Justineo committed Nov 20, 2019
1 parent 1f5ddfa commit 5b44bfc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
6 changes: 5 additions & 1 deletion packages/veui-theme-dls/components/button-group.less
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,14 @@
.border-right-radius(@dls-button-border-radius-m);
}

&[data-focus-visible-added] {
&:hover {
z-index: 2;
}

&[data-focus-visible-added] {
z-index: 4;
}

&.@{veui-prefix}-disabled {
z-index: 0;
}
Expand Down
7 changes: 6 additions & 1 deletion packages/veui-theme-dls/grouped-button.less
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

._veui-grouped-button {
&.@{veui-prefix}-button-selected {
z-index: 1;
z-index: 3;

&:hover,
&[data-focus-visible-added] {
z-index: 4;
}
}
}

0 comments on commit 5b44bfc

Please sign in to comment.