mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 22:25:01 +00:00
enhance(ui): polish icons picker
This commit is contained in:
@@ -340,7 +340,7 @@
|
||||
:class (if has-icon? "px-1 leading-none" "font-normal text-sm px-[0.5px] opacity-50")
|
||||
:on-click #(when-not disabled?
|
||||
(shui/popup-show! (.-target %) content-fn
|
||||
{:content-props {:class "w-auto"}}))}
|
||||
{:content-props {:class "ls-icon-picker"}}))}
|
||||
(if has-icon?
|
||||
(icon icon-value (merge {:size 18} icon-props))
|
||||
"Empty")))))
|
||||
|
||||
@@ -108,3 +108,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
.ls-icon-picker {
|
||||
@apply w-auto overflow-hidden;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user