Skip to content

Commit

Permalink
Merge pull request #136 from ColinFrick/fix/134
Browse files Browse the repository at this point in the history
[Modal] Fullscreen modals are not working in IE11
  • Loading branch information
Sean authored Oct 1, 2018
2 parents c0d6acc + c4eed66 commit f255e97
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/definitions/modules/modal.less
Original file line number Diff line number Diff line change
Expand Up @@ -311,17 +311,17 @@
}

/* Resort to margin positioning if legacy */
.ui.legacy.modal,
.ui.legacy.page.dimmer > .ui.modal {
top: 50%;
left: 50%;
.ui.legacy.legacy.modal,
.ui.legacy.legacy.page.dimmer > .ui.modal {
top: 50% !important;
left: 50% !important;
}

.ui.legacy.page.dimmer > .ui.scrolling.modal,
.ui.page.dimmer > .ui.scrolling.legacy.modal,
.ui.top.aligned.legacy.page.dimmer > .ui.modal,
.ui.top.aligned.dimmer > .ui.legacy.modal {
top: auto;
.ui.legacy.legacy.page.dimmer > .ui.scrolling.modal,
.ui.page.dimmer > .ui.scrolling.legacy.legacy.modal,
.ui.top.aligned.legacy.legacy.page.dimmer > .ui.modal,
.ui.top.aligned.dimmer > .ui.legacy.legacy.modal {
top: auto !important;
}

/* Tablet and Mobile */
Expand Down

0 comments on commit f255e97

Please sign in to comment.