]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix scrollable modal (#31151)
authorShohei Yoshida <ysds.code@gmail.com>
Thu, 25 Jun 2020 06:43:19 +0000 (15:43 +0900)
committerGitHub <noreply@github.com>
Thu, 25 Jun 2020 06:43:19 +0000 (09:43 +0300)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
scss/_modal.scss

index 44519724e5159f03bfc98e5044ec49ad5d955e28..5443ef124db53dee44924682489042a43da76cea 100644 (file)
 }
 
 .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;
   }
 
   }
 
   .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 {