]> BookStack Code Mirror - bookstack/blobdiff - resources/sass/_layout.scss
Updated minimum php version from 7.3 to 7.4
[bookstack] / resources / sass / _layout.scss
index 516d7d612e590d7a6ec516a689cdd102ff6606c7..783ccc8f9476cb455e71c6186c346e2695ba1b9e 100644 (file)
@@ -145,6 +145,7 @@ body.flexbox {
 .flex {
   min-height: 0;
   flex: 1;
+  max-width: 100%;
   &.fit-content {
     flex-basis: auto;
     flex-grow: 0;
@@ -181,6 +182,10 @@ body.flexbox {
   display: inline-block !important;
 }
 
+.relative {
+  position: relative;
+}
+
 .hidden {
   display: none !important;
 }
@@ -364,6 +369,9 @@ body.flexbox {
     &:focus-within {
       opacity: 1;
     }
+    @media (prefers-contrast: more) {
+      opacity: 1;
+    }
   }
 
 }