Преглед на файлове

Merge pull request #2119 from Yidadaa/bugfix-0624

chore: delete chat button position
Yifei Zhang преди 1 година
родител
ревизия
8f66da1128
променени са 1 файла, в които са добавени 3 реда и са изтрити 12 реда
  1. 3 12
      app/components/home.module.scss

+ 3 - 12
app/components/home.module.scss

@@ -185,7 +185,7 @@
 
 
 .chat-item-delete {
 .chat-item-delete {
   position: absolute;
   position: absolute;
-  top: 10px;
+  top: 0;
   right: 0;
   right: 0;
   transition: all ease 0.3s;
   transition: all ease 0.3s;
   opacity: 0;
   opacity: 0;
@@ -194,7 +194,7 @@
 
 
 .chat-item:hover > .chat-item-delete {
 .chat-item:hover > .chat-item-delete {
   opacity: 0.5;
   opacity: 0.5;
-  transform: translateX(-10px);
+  transform: translateX(-4px);
 }
 }
 
 
 .chat-item:hover > .chat-item-delete:hover {
 .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 {
   .sidebar-tail {
     flex-direction: column-reverse;
     flex-direction: column-reverse;
     align-items: center;
     align-items: center;
@@ -568,6 +559,6 @@
   width: 100%;
   width: 100%;
 }
 }
 
 
-.rtl-screen{
+.rtl-screen {
   direction: rtl;
   direction: rtl;
 }
 }