浏览代码

enhance(ux): editor blink for the block title include page ref links

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

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

@@ -294,15 +294,13 @@
 }
 }
 
 
 .block-ref {
 .block-ref {
-  border-bottom: 0.5px solid;
-  border-bottom-color: var(--ls-block-ref-link-text-color);
-  cursor: alias;
-  padding: 2px 0;
+  @apply border-b-[0.5px] border-b-[--ls-block-ref-link-text-color] cursor-alias;
+
   display: inherit;
   display: inherit;
+  margin-bottom: -1px;
 
 
   .block-ref {
   .block-ref {
-    padding: 6px 5px;
-    border: none;
+    @apply mx-1;
   }
   }
 
 
   &:hover {
   &:hover {