Skip to content

Commit

Permalink
fix(modal): use direct sibling for content selector
Browse files Browse the repository at this point in the history
  • Loading branch information
lubber-de authored and Sean committed Apr 24, 2019
1 parent 8917519 commit e4fbb61
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/definitions/modules/modal.less
Original file line number Diff line number Diff line change
Expand Up @@ -233,10 +233,10 @@
padding: @mobileHeaderPadding !important;
padding-right: @closeHitbox !important;
}
.ui.overlay.fullscreen.modal .content.content.content {
.ui.overlay.fullscreen.modal > .content.content.content {
min-height: @overlayFullscreenScrollingContentMaxHeightMobile;
}
.ui.overlay.fullscreen.modal .scrolling.content.content.content {
.ui.overlay.fullscreen.modal > .scrolling.content.content.content {
max-height: @overlayFullscreenScrollingContentMaxHeightMobile;
}
.ui.modal > .content {
Expand Down Expand Up @@ -416,14 +416,14 @@
}

/* Scrolling Content */
.ui.modal .scrolling.content {
.ui.modal > .scrolling.content {
max-height: @scrollingContentMaxHeight;
overflow: auto;
}
.ui.overlay.fullscreen.modal .content {
.ui.overlay.fullscreen.modal > .content {
min-height: @overlayFullscreenScrollingContentMaxHeight;
}
.ui.overlay.fullscreen.modal .scrolling.content {
.ui.overlay.fullscreen.modal > .scrolling.content {
max-height: @overlayFullscreenScrollingContentMaxHeight;
}

Expand Down

0 comments on commit e4fbb61

Please sign in to comment.