enhance(ui): polish icons picker

feat/asset-sync
charlie 2024-07-09 13:52:55 +08:00
parent b3ab38e70b
commit 54f9f9dc96
2 changed files with 5 additions and 1 deletions

View File

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

View File

@ -108,3 +108,7 @@
}
}
.ls-icon-picker {
@apply w-auto overflow-hidden;
}