Просмотр исходного кода

enhance(ui): polish property icons

charlie 1 год назад
Родитель
Сommit
70341f8ae0

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

@@ -111,6 +111,12 @@
     }
 }
 
+.closed-values-properties {
+    .select-item {
+        @apply flex items-center;
+    }
+}
+
 .block-main-container .ls-properties-area {
     margin-top: 0.25em;
 }

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

@@ -769,7 +769,7 @@
                         (if config/publishing?
                           nil
                           (shui/popup-show! (rum/deref *el) content-fn
-                            {:as-menu? true :as-content? false}))))
+                            {:as-menu? true :as-content? false :align "start"}))))
           :on-key-up (fn [^js e]
                        (case (.-key e)
                          (" " "Enter")