From da271a45ae168cbdf2df40e6a59659f8d632fb67 Mon Sep 17 00:00:00 2001 From: pfqgauxfb <3521106529@qq.com> Date: Tue, 3 Jun 2025 10:17:25 +0800 Subject: [PATCH] feng --- src/components/Comment/styles.module.css | 1 - src/theme/DocSidebarItem/styles.module.css | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Comment/styles.module.css b/src/components/Comment/styles.module.css index 853c672..f21ad8e 100644 --- a/src/components/Comment/styles.module.css +++ b/src/components/Comment/styles.module.css @@ -1,7 +1,6 @@ .commentContainer { position: relative; display: inline-block; - margin-left: 8px; } .commentButton { diff --git a/src/theme/DocSidebarItem/styles.module.css b/src/theme/DocSidebarItem/styles.module.css index e2a3dcb..e4b462a 100644 --- a/src/theme/DocSidebarItem/styles.module.css +++ b/src/theme/DocSidebarItem/styles.module.css @@ -6,11 +6,12 @@ } .actionButtons { + position: absolute; + right: 8px; display: flex; align-items: center; - margin-left: auto; - padding-right: 8px; gap: 4px; + z-index: 10; } .bookmarkButton {