Browse Source

enhance: limit height for both form input and select

Tienson Qin 2 years ago
parent
commit
c593237b02

+ 5 - 0
src/main/frontend/components/property.css

@@ -1,5 +1,10 @@
 .property-configure {
     min-width: 32rem;
+
+    .form-input, .form-select {
+        line-height: 1rem;
+        padding: 0.25rem 0.5rem;
+    }
 }
 
 .property-value-content {

+ 1 - 1
src/main/frontend/components/property/value.cljs

@@ -57,7 +57,7 @@
                  (tc/to-local-date value))]
     (ui/dropdown
      (fn [{:keys [toggle-fn]}]
-       [:a
+       [:a.flex
         {:tabIndex "0"
          :on-click toggle-fn
          :on-key-down (fn [e]