Skip to content

Commit

Permalink
fix: click on left icon
Browse files Browse the repository at this point in the history
  • Loading branch information
ValeraS committed Apr 3, 2024
1 parent 3600626 commit 5f6bc07
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/components/Label/Label.scss
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,16 @@ $hover-opacity: 0.7;
&__action-button {
@include mixins.button-reset();
border-radius: inherit;
z-index: 1;

&:focus-visible {
outline: 2px solid var(--g-color-line-focus);
}

&:empty {
position: absolute;
inset: 0;
}
}

// & selector added to up priority over button styles
Expand All @@ -94,6 +100,7 @@ $hover-opacity: 0.7;

&_side_right {
inset-inline-end: 0;
z-index: 2;
}

&_interactive {
Expand Down

0 comments on commit 5f6bc07

Please sign in to comment.