Explorar o código

change to show scrollbar when modal's showing

akira-s %!s(int64=5) %!d(string=hai) anos
pai
achega
f21fa6460e
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  1. 7 0
      src/client/styles/scss/_layout.scss

+ 7 - 0
src/client/styles/scss/_layout.scss

@@ -25,6 +25,13 @@
   margin-top: $grw-navbar-height + $grw-navbar-border-width;
 }
 
+.modal-open:not(.on-edit) {
+  overflow-y: scroll !important;
+  position: fixed;
+  width: 100%;
+  padding-right: 0 !important;
+}
+
 .grw-modal-head {
   font-size: 1em;
   border-bottom: 1px solid $gray-500;