From b5eaa8272b707052a651cba3537fd3a52c3810cf Mon Sep 17 00:00:00 2001 From: Yidadaa Date: Sat, 24 Jun 2023 23:53:37 +0800 Subject: [PATCH] chore: delete chat button position --- app/components/home.module.scss | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/app/components/home.module.scss b/app/components/home.module.scss index 918d8b8522d..81916d71b3c 100644 --- a/app/components/home.module.scss +++ b/app/components/home.module.scss @@ -185,7 +185,7 @@ .chat-item-delete { position: absolute; - top: 10px; + top: 0; right: 0; transition: all ease 0.3s; opacity: 0; @@ -194,7 +194,7 @@ .chat-item:hover > .chat-item-delete { opacity: 0.5; - transform: translateX(-10px); + transform: translateX(-4px); } .chat-item:hover > .chat-item-delete:hover { @@ -283,15 +283,6 @@ } } - .chat-item-delete { - top: 15px; - } - - .chat-item:hover > .chat-item-delete { - opacity: 0.5; - right: 5px; - } - .sidebar-tail { flex-direction: column-reverse; align-items: center; @@ -568,6 +559,6 @@ width: 100%; } -.rtl-screen{ +.rtl-screen { direction: rtl; }