]> BookStack Code Mirror - bookstack/blobdiff - resources/sass/_forms.scss
Connected md editor settings to logic for functionality
[bookstack] / resources / sass / _forms.scss
index d9e18a9ed5c2042bd52922ce2672c76c0a908cbb..e4331a03f21662865f87e30f00b710699c26ce96 100644 (file)
@@ -80,7 +80,6 @@
   border-bottom: 1px solid #DDD;
   @include lightDark(border-color, #ddd, #000);
   width: 50%;
-  max-width: 50%;
 }
 
 .markdown-editor-wrap + .markdown-editor-wrap {
     max-width: 100%;
     flex-grow: 1;
   }
-  #markdown-editor .editor-toolbar {
-    padding: 0;
-  }
-  #markdown-editor .editor-toolbar > * {
-    padding: $-xs $-s;
-  }
   .editor-toolbar-label {
     float: none !important;
     @include lightDark(border-color, #DDD, #555);
@@ -157,6 +150,16 @@ html.markdown-editor-display.dark-mode {
   }
 }
 
+.editor-toolbar .buttons {
+  font-size: $fs-m;
+  .dropdown-menu {
+    padding: 0;
+  }
+  .toggle-switch {
+    margin: $-s 0;
+  }
+}
+
 .editor-toolbar .buttons button {
   font-size: .9rem;
   width: 2rem;