chore: clean up

This commit is contained in:
2026-11-04 08:57:07 +07:00
parent ded23ab2f2
commit fa73124ee4
5 changed files with 161 additions and 19 deletions
+2 -2
View File
@@ -191,12 +191,12 @@ impl RenderOnce for Alert {
.flex_none()
.cursor_pointer()
.p_0p5()
.rounded(px(4.))
.rounded(theme.radius.sm)
.hover(|style| style.bg(muted))
.child(
icon(IconRole::Close)
.size(theme.sizes.small.dense_icon_size)
.color(foreground.alpha(0.55)),
.color(theme.colors.muted_foreground),
)
.on_click(move |_, _window, cx| on_dismiss(cx)),
)