瀏覽代碼

enhance(ui): blink for the task checkbox switching

charlie 7 月之前
父節點
當前提交
94e924027d
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      src/main/frontend/components/block.css

+ 5 - 1
src/main/frontend/components/block.css

@@ -245,7 +245,11 @@
   @apply w-full inline;
 
   > .ui__checkbox {
-    @apply relative top-[2px];
+    @apply relative top-0.5;
+
+    &.checked {
+      @apply top-1;
+    }
 
     > span {
       @apply h-full;