소스 검색

enhance(ui): simplify css code

charlie 11 달 전
부모
커밋
94d44f0c88
1개의 변경된 파일4개의 추가작업 그리고 8개의 파일을 삭제
  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 {