ソースを参照

import modal.scss

itizawa 6 年 前
コミット
3761641d34

+ 6 - 0
src/client/styles/scss/_modal.scss

@@ -0,0 +1,6 @@
+.modal-body {
+  // Adjust the height by subtracting the footer and the footer
+  // show https://stackoverflow.com/questions/24166568/set-bootstrap-modal-body-height-by-percentage/26078942
+  max-height: calc(100% - 120px);
+  overflow-y: auto;
+}

+ 1 - 0
src/client/styles/scss/style-app.scss

@@ -45,6 +45,7 @@
 @import 'tag';
 @import 'tag';
 @import 'staff_credit';
 @import 'staff_credit';
 @import 'draft';
 @import 'draft';
+@import 'modal';
 
 
 /*
 /*
  * for Guest User Mode
  * for Guest User Mode