Browse Source

enhance(ui): blink for the task checkbox switching

charlie 7 tháng trước cách đây
mục cha
commit
94e924027d
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  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;