Просмотр исходного кода

update thinking text styling in desktop app

David Hill 1 месяц назад
Родитель
Сommit
7f9ffe57f9
1 измененных файлов с 12 добавлено и 1 удалено
  1. 12 1
      packages/ui/src/components/message-part.css

+ 12 - 1
packages/ui/src/components/message-part.css

@@ -113,11 +113,22 @@
 
 [data-component="reasoning-part"] {
   width: 100%;
-  opacity: 0.5;
+  color: var(--text-base);
+  opacity: 0.8;
+  line-height: var(--line-height-large);
 
   [data-component="markdown"] {
     margin-top: 24px;
     font-style: italic !important;
+
+    p:has(strong) {
+      margin-top: 24px;
+      margin-bottom: 0;
+
+      &:first-child {
+        margin-top: 0;
+      }
+    }
   }
 }