Răsfoiți Sursa

enhance(ui): simplify css code

charlie 10 luni în urmă
părinte
comite
94d44f0c88
1 a modificat fișierele cu 4 adăugiri și 8 ștergeri
  1. 4 8
      src/main/frontend/components/file_sync.css

+ 4 - 8
src/main/frontend/components/file_sync.css

@@ -10,16 +10,12 @@
       @apply relative;
 
       &.on {
+        @apply after:content-['*'];
+
         &:after {
-          content: " ";
-          position: absolute;
-          bottom: 10px;
-          right: 8px;
-          width: 7px;
-          height: 7px;
+          @apply absolute bottom-2.5 right-1 w-[7px] h-[7px] rounded-full opacity-100 text-transparent;
+
           background-color: var(--ls-color-file-sync-pending);
-          border-radius: 100%;
-          opacity: 1;
         }
 
         &.syncing {