fix style

This commit is contained in:
tommy
2025-11-07 14:44:41 +08:00
parent f5629c8a2b
commit 89b2d123fc
2 changed files with 34 additions and 2 deletions

View File

@@ -65,8 +65,20 @@ pub fn Select(
},
span { "{display_text}" }
span {
style: "font-size: 0.8rem; opacity: 0.7;",
if open() { "" } else { "" }
class: "ui-select-icon",
"aria-hidden": "true",
svg {
view_box: "0 0 16 16",
xmlns: "http://www.w3.org/2000/svg",
path {
d: "M4 6l4 4 4-4",
fill: "none",
stroke: "currentColor",
"stroke-width": "1.5",
"stroke-linecap": "round",
"stroke-linejoin": "round",
}
}
}
}
if open() {