From 846e3238404fef87175ad3533385bb59a2ef8afb Mon Sep 17 00:00:00 2001 From: "ShengYan, Zhang" Date: Wed, 31 May 2023 15:45:12 +0800 Subject: [PATCH] fix: the position of top-action buttons --- app/components/home.module.scss | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/components/home.module.scss b/app/components/home.module.scss index 96ce17c1..c6fc3674 100644 --- a/app/components/home.module.scss +++ b/app/components/home.module.scss @@ -141,7 +141,7 @@ .sidebar-sub-title { font-size: 12px; - font-weight: 400px; + font-weight: 400; animation: slide-in ease 0.3s; } @@ -369,7 +369,7 @@ &:hover { .chat-message-top-actions { opacity: 1; - right: 10px; + transform: translateX(10px); pointer-events: all; } } @@ -405,11 +405,12 @@ } .chat-message-top-actions { + min-width: 120px; font-size: 12px; position: absolute; right: 20px; top: -26px; - left: 100px; + left: 30px; transition: all ease 0.3s; opacity: 0; pointer-events: none;