Skip to content

Commit

Permalink
fix(modal): increase importance of legacy modal class definition
Browse files Browse the repository at this point in the history
fullscreen modal class overrules the top / left definition of the legacy modals, which results in off-screen rendering of modals in IE11

Closes #134 / Semantic-Org/Semantic-UI#6597
  • Loading branch information
ColinFrick committed Sep 24, 2018
1 parent a13a9e7 commit 9941732
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/definitions/modules/modal.less
Original file line number Diff line number Diff line change
Expand Up @@ -311,10 +311,10 @@
}

/* 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,
Expand Down

0 comments on commit 9941732

Please sign in to comment.