Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Commit

Permalink
fix(dialog): use position:fixed instead of absolute
Browse files Browse the repository at this point in the history
Fixes #249
  • Loading branch information
ajoslin committed Sep 8, 2014
1 parent 1f0688b commit 6ba874d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/backdrop/_backdrop.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ material-backdrop {
z-index: $z-index-backdrop;
background-color: rgba(0,0,0,0);

position: absolute;
position: fixed;
left: 0;
top: 0;
right: 0;
Expand Down
2 changes: 1 addition & 1 deletion src/components/dialog/_dialog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
@include flex-display();
@include flex-justify-content(center);
@include flex-align-items(center);
position: absolute;
position: fixed;
left: 0;
top: 0;
bottom: 0;
Expand Down

0 comments on commit 6ba874d

Please sign in to comment.