]> BookStack Code Mirror - bookstack/blobdiff - resources/sass/_components.scss
Added additional testing for editor switching permissions
[bookstack] / resources / sass / _components.scss
index ede26c51ca3d16bd68530105bfab92b4482c5aaa..bce456cf2ce1e1b82147ae45e8f368ac83a91e83 100644 (file)
     width: 800px;
     max-width: 90%;
   }
+  &.very-small {
+    margin: 2% auto;
+    width: 600px;
+    max-width: 90%;
+  }
   &:before {
     display: flex;
     align-self: flex-start;
@@ -190,7 +195,7 @@ body.flexbox-support #entity-selector-wrap .popup-body .form-group {
   float: left;
   margin: 0;
   cursor: pointer;
-  width: (100%/6);
+  width: math.div(100%, 6);
   height: auto;
   @include lightDark(border-color, #ddd, #000);
   box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
@@ -219,7 +224,7 @@ body.flexbox-support #entity-selector-wrap .popup-body .form-group {
     }
   }
   @include smaller-than($xl) {
-    width: (100%/4);
+    width: math.div(100%, 4);
   }
   @include smaller-than($m) {
     .image-meta {
@@ -629,7 +634,7 @@ body.flexbox-support #entity-selector-wrap .popup-body .form-group {
 }
 
 .code-editor .lang-options {
-  max-width: 480px;
+  max-width: 540px;
   margin-bottom: $-s;
   a {
     margin-inline-end: $-xs;
@@ -783,6 +788,6 @@ body.flexbox-support #entity-selector-wrap .popup-body .form-group {
 
 .custom-select-input {
   max-width: 280px;
-  border: 1px solid #DDD;
-  border-radius: 4px;
+  border: 1px solid #D4D4D4;
+  border-radius: 3px;
 }
\ No newline at end of file