Prechádzať zdrojové kódy

better small shadow-tweak styles

Henry Jameson 2 mesiacov pred
rodič
commit
0cec6dc356

+ 5 - 1
src/components/shadow_control/shadow_control.scss

@@ -71,9 +71,13 @@
   &.-no-preview {
     .shadow-tweak {
       order: 0;
-      flex: 2 0 20em;
+      flex: 2 0 8em;
       max-width: 100%;
     }
+
+    .input-range {
+      min-width: 5em;
+    }
   }
 
   .inset-alert {

+ 1 - 1
src/components/shadow_control/shadow_control.vue

@@ -167,7 +167,7 @@
           :disabled="disabled || !present || (separateInset && !selected?.inset)"
           :class="{ disabled: disabled || !present || (separateInset && !selected?.inset) }"
           name="spread"
-          class="input input-number -small"
+          class="input input-range"
           type="range"
           max="20"
           min="-20"