Skip to content

Commit

Permalink
docs: z-index intention comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Carl-J-M committed Sep 13, 2024
1 parent bb16421 commit a0259fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/control/Button/Button.css
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ diamond-button {
&:not(:active):focus-visible {
outline-offset: var(--diamond-button-outline-offset);
position: relative;
/* This z-index prevents the focus outline from being clipped by the parent */
z-index: 1;
}
}
Expand Down

0 comments on commit a0259fa

Please sign in to comment.