Skip to content

Commit 1d808d1

Browse files
committed
fix: 整理聊天样式
1 parent 576d5c9 commit 1d808d1

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

src/resources/chatPanel.css

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@
3434
margin: 4px 0;
3535
border-radius: 4px;
3636
}
37+
38+
.model pre {
39+
position: relative;
40+
padding-top: 30px !important;
41+
}
42+
3743
.model pre code {
3844
background-color: #040404 !important;
3945
padding: 1em;
@@ -62,10 +68,7 @@
6268
.copy-btn:hover {
6369
background: #757575;
6470
}
65-
.model pre {
66-
position: relative;
67-
padding-top: 30px !important;
68-
}
71+
6972
.katex {
7073
color: white !important;
7174
background-color: transparent !important;
@@ -168,4 +171,5 @@ think {
168171
padding-left: 0.8em;
169172
margin: 0.5em 0;
170173
display: block; /* 确保块级显示 */
174+
white-space: pre-wrap;
171175
}

0 commit comments

Comments
 (0)