diff --git a/src/components/ui.rs b/src/components/ui.rs index 225002b..d8a70ca 100644 --- a/src/components/ui.rs +++ b/src/components/ui.rs @@ -222,7 +222,7 @@ pub fn Tooltip( "bottom-full mb-2" }; rsx! { - div { class: "group relative", + div { class: "group relative inline-flex", {children} div { class: "{TOOLTIP_STYLE} {position_class}", "{tip}" } } diff --git a/src/pages/admin/posts.rs b/src/pages/admin/posts.rs index ba480d8..fae6791 100644 --- a/src/pages/admin/posts.rs +++ b/src/pages/admin/posts.rs @@ -309,7 +309,7 @@ fn PostRow( } td { class: "px-4 py-3 text-paper-secondary", "{date_str}" } td { class: "px-4 py-3 text-right", - div { class: "flex justify-end gap-3", + div { class: "flex justify-end items-center gap-3", Link { class: "text-xs text-paper-secondary hover:text-paper-primary transition-colors cursor-pointer", to: Route::WriteEdit { id: post.id },