mirror of https://github.com/logseq/logseq
enhance(ui): polish icons picker
parent
b3ab38e70b
commit
54f9f9dc96
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue