diff options
author | Shohei Yoshida <ysds.code@gmail.com> | 2020-06-25 09:43:19 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-25 09:43:19 +0300 |
commit | c140347bd26851c79e76766ae381e91c159b3f48 (patch) | |
tree | 7dfa9c95dc36a73e1ae76e889937c0045459684b /scss/_modal.scss | |
parent | d33a560dd6cad89dc8e54a4b6e4fbea73255ab5c (diff) |
Fix scrollable modal (#31151)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Diffstat (limited to 'scss/_modal.scss')
-rw-r--r-- | scss/_modal.scss | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scss/_modal.scss b/scss/_modal.scss index 44519724e5..5443ef124d 100644 --- a/scss/_modal.scss +++ b/scss/_modal.scss @@ -56,9 +56,10 @@ } .modal-dialog-scrollable { - max-height: subtract(100%, $modal-dialog-margin * 2); + height: subtract(100%, $modal-dialog-margin * 2); .modal-content { + max-height: 100%; overflow: hidden; } @@ -177,7 +178,7 @@ } .modal-dialog-scrollable { - max-height: subtract(100%, $modal-dialog-margin-y-sm-up * 2); + height: subtract(100%, $modal-dialog-margin-y-sm-up * 2); } .modal-dialog-centered { |