소스 검색

fix(ux): bullet alignment & blink of the first child block for the intent operation

charlie 1 년 전
부모
커밋
136f5faf5f
1개의 변경된 파일8개의 추가작업 그리고 7개의 파일을 삭제
  1. 8 7
      src/main/frontend/components/block.css

+ 8 - 7
src/main/frontend/components/block.css

@@ -6,13 +6,7 @@
 }
 
 .block-content {
-  min-height: 24px;
-  max-width: 100%;
-  overflow: initial;
-  white-space: pre-wrap;
-  overflow-wrap: break-word;
-  word-break: break-word;
-  cursor: text;
+  @apply min-h-[24px] max-w-full whitespace-pre-wrap break-words cursor-text;
 
   img {
     max-width: 100%;
@@ -387,6 +381,13 @@
   }
 }
 
+.block-children {
+  > .ls-block:first-child {
+    padding-top: 2px;
+    border-top: 1px solid transparent;
+  }
+}
+
 .ls-block {
   margin-right: auto;
   margin-left: auto;