feat: render markdown in chat
This commit is contained in:
@@ -20,6 +20,18 @@
|
||||
display: none;
|
||||
}
|
||||
|
||||
.actions .mrkd-switch {
|
||||
border-radius: 12px;
|
||||
|
||||
.ant-segmented-thumb,
|
||||
.ant-segmented-item-selected,
|
||||
.ant-segmented-item,
|
||||
.ant-segmented-item::after {
|
||||
border-radius: 10px;
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
.actions {
|
||||
display: flex;
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
.think-wrapper {
|
||||
margin-bottom: 16px;
|
||||
color: var(--ant-color-text-tertiary);
|
||||
border-left: 2px solid var(--ant-color-fill-secondary);
|
||||
|
||||
.think-content {
|
||||
white-space: pre-wrap;
|
||||
padding: 6px 4px;
|
||||
background-color: var(--ant-color-fill-tertiary);
|
||||
color: var(--ant-color-text-tertiary);
|
||||
border-radius: var(--border-radius-base);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user