浏览代码

enhance(ui): hover state for the number list item marker

charlie 2 年之前
父节点
当前提交
8b08bcf070
共有 1 个文件被更改,包括 6 次插入3 次删除
  1. 6 3
      src/main/frontend/components/block.css

+ 6 - 3
src/main/frontend/components/block.css

@@ -535,11 +535,14 @@
   }
 
   .bullet {
-    border-radius: 50%;
-    width: 6px;
-    height: 6px;
+    @apply rounded-full w-[6px] h-[6px];
+
     background-color: var(--ls-block-bullet-color, #394b59);
     transition: transform 0.2s;
+
+    > * {
+      @apply cursor-pointer;
+    }
   }
 
   &:not(.typed-list) {