Skip to content

Commit

Permalink
Fix focus styles in dialog component (#2815)
Browse files Browse the repository at this point in the history
  • Loading branch information
ElaLukaszewicz authored Oct 2, 2024
1 parent 057dbd3 commit cf979fa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/dialog/_dialog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,10 @@ $dialogMaxWidthMap: (
&--motion-none {
transition-duration: 0s;
}

&:focus:not(:focus-visible) {
box-shadow: $dialogBoxShadow;
}
}

&__header {
Expand Down

0 comments on commit cf979fa

Please sign in to comment.