Browse Source

Fix fullscreen modal left margins

1.0
jlukic 10 years ago
parent
commit
17cfe99eed
2 changed files with 5 additions and 1 deletions
  1. 5
      src/definitions/modules/modal.less
  2. 1
      src/themes/default/modules/modal.variables

5
src/definitions/modules/modal.less

@ -335,9 +335,12 @@
.ui.fullscreen.modal {
width: @fullScreenWidth !important;
left: 0% !important;
left: @fullScreenOffset !important;
margin: @fullScreenMargin;
}
.ui.fullscreen.scrolling.modal {
left: 0em !important;
}
.ui.fullscreen.modal > .header {
padding-right: @closeHitbox;
}

1
src/themes/default/modules/modal.variables

@ -90,6 +90,7 @@
@widescreenMonitorMargin: 0em 0em 0em -(@widescreenMonitorWidth / 2);
@fullScreenWidth: 95%;
@fullScreenOffset: (100% - @fullScreenWidth) / 2;
@fullScreenMargin: 1em auto;
@fullScreenMobileWidth: auto;

Loading…
Cancel
Save