diff --git a/src/definitions/modules/modal.less b/src/definitions/modules/modal.less index c2d329c8a..1ab897a95 100755 --- a/src/definitions/modules/modal.less +++ b/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; } diff --git a/src/themes/default/modules/modal.variables b/src/themes/default/modules/modal.variables index 016265846..706fa4aaa 100644 --- a/src/themes/default/modules/modal.variables +++ b/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;