Преглед изворни кода

tweak(ui): refine session feed spacing

David Hill пре 6 месеци
родитељ
комит
63a469d0ce
1 измењених фајлова са 8 додато и 2 уклоњено
  1. 8 2
      packages/ui/src/components/message-part.css

+ 8 - 2
packages/ui/src/components/message-part.css

@@ -179,6 +179,7 @@
 
 [data-component="text-part"] {
   width: 100%;
+  margin-top: 40px;
 
   [data-slot="text-part-body"] {
     margin-top: 0;
@@ -227,13 +228,18 @@
 [data-component="reasoning-part"] {
   width: 100%;
   color: var(--text-base);
-  font-size: var(--font-size-small);
-  line-height: var(--line-height-large);
+  line-height: var(--line-height-normal);
 
   [data-component="markdown"] {
     margin-top: 24px;
     font-style: normal;
     font-size: inherit;
+    color: var(--text-weak);
+
+    strong,
+    b {
+      color: var(--text-base);
+    }
 
     p:has(strong) {
       margin-top: 24px;