From 1c3f1aac34d62720101efbb27805525826cea3d1 Mon Sep 17 00:00:00 2001 From: xfy Date: Fri, 12 Jun 2026 10:54:02 +0800 Subject: [PATCH] fix(admin): flip tooltip to bottom to avoid navbar overlap Changed from bottom-full/mb-2 to top-full/mt-2, added z-50. --- src/pages/admin/posts.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/admin/posts.rs b/src/pages/admin/posts.rs index 91d4d98..c95e02e 100644 --- a/src/pages/admin/posts.rs +++ b/src/pages/admin/posts.rs @@ -86,7 +86,7 @@ pub fn PostsPage(page: i32) -> Element { }, if rebuilding() { "重建中..." } else { "重建内容" } } - div { class: "pointer-events-none absolute bottom-full left-1/2 -translate-x-1/2 mb-2 px-3 py-1.5 text-xs font-medium whitespace-nowrap rounded-lg opacity-0 group-hover:opacity-100 transition-opacity duration-200 bg-gray-900 dark:bg-[#dadadb] text-white dark:text-gray-900 shadow-lg", + div { class: "pointer-events-none absolute top-full left-1/2 -translate-x-1/2 mt-2 px-3 py-1.5 text-xs font-medium whitespace-nowrap rounded-lg opacity-0 group-hover:opacity-100 transition-opacity duration-200 bg-gray-900 dark:bg-[#dadadb] text-white dark:text-gray-900 shadow-lg z-50", "重建 content_html 为空的文章渲染缓存" } }