itizawa 6 лет назад
Родитель
Сommit
3761641d34
2 измененных файлов с 7 добавлено и 0 удалено
  1. 6 0
      src/client/styles/scss/_modal.scss
  2. 1 0
      src/client/styles/scss/style-app.scss

+ 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 'staff_credit';
 @import 'draft';
+@import 'modal';
 
 /*
  * for Guest User Mode