Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 0185908

Browse files
Kiougarrschmukler
authored andcommitted
fix(dialog): set css position: fixed to .md-dialog-container
Ensures the dialog will always be in the center of the screen even when the user scrolls vertically.
1 parent 2b68713 commit 0185908

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/dialog/dialog.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ $dialog-padding: $baseline-grid * 3;
77
display: flex;
88
justify-content: center;
99
align-items: center;
10-
position: absolute;
10+
position: fixed;
1111
top: 0;
1212
left: 0;
1313
width: 100%;

0 commit comments

Comments
 (0)