Procházet zdrojové kódy

improve(ui): friendly size for slash commands modal

charlie před 3 roky
rodič
revize
11b9eaabe4
1 změnil soubory, kde provedl 6 přidání a 0 odebrání
  1. 6 0
      src/main/frontend/components/editor.css

+ 6 - 0
src/main/frontend/components/editor.css

@@ -40,6 +40,12 @@
   &.is-overflow-vh-y {
     transform: translateY(calc(-100% - 2rem));
   }
+
+  &[data-modal-name="commands"] {
+    width: 380px !important;
+    max-width: 90vw !important;
+    max-height: 520px !important;
+  }
 }
 
 .is-mobile {