فهرست منبع

enhance(ui): polish property icons

charlie 1 سال پیش
والد
کامیت
70341f8ae0
2فایلهای تغییر یافته به همراه7 افزوده شده و 1 حذف شده
  1. 6 0
      src/main/frontend/components/property.css
  2. 1 1
      src/main/frontend/components/property/value.cljs

+ 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")