Skip to content

Commit

Permalink
fix(modal): set @fullScreenOffset to correct offset
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinFrick committed Sep 24, 2018
1 parent a13a9e7 commit 3f0fe20
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions src/definitions/modules/modal.less
Original file line number Diff line number Diff line change
Expand Up @@ -424,9 +424,6 @@
left: @fullScreenOffset !important;
margin: @fullScreenMargin;
}
.ui.fullscreen.scrolling.modal {
left: 0em !important;
}
.ui.fullscreen.modal > .header {
padding-right: @closeHitbox;
}
Expand Down
2 changes: 1 addition & 1 deletion src/themes/default/modules/modal.variables
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
@widescreenMonitorMargin: 0em 0em 0em 0em;

@fullScreenWidth: 95%;
@fullScreenOffset: 0em;
@fullScreenOffset: (100% - @fullScreenWidth) / 2;
@fullScreenMargin: 1em auto;

/* Coupling */
Expand Down

0 comments on commit 3f0fe20

Please sign in to comment.