Skip to content

Commit

Permalink
fix(sbb-dialog): fix resizing flickering
Browse files Browse the repository at this point in the history
  • Loading branch information
jeripeierSBB committed Sep 5, 2024
1 parent a9410ba commit 50ef344
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/elements/dialog/dialog/dialog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@

:host(:is([data-state='opened'], [data-state='opening'])) {
--sbb-dialog-pointer-events: all;
--sbb-dialog-backdrop-color: var(--sbb-color-milk);

@include sbb.mq($from: medium) {
--sbb-dialog-backdrop-visibility: visible;
--sbb-dialog-backdrop-pointer-events: all;
--sbb-dialog-backdrop-color: var(--sbb-color-milk);
}
}

Expand Down

0 comments on commit 50ef344

Please sign in to comment.