style: markdown返回pre标签换行
This commit is contained in:
@ -29,30 +29,6 @@
|
||||
flex-direction: row-reverse;
|
||||
}
|
||||
|
||||
.thought-chain-item {
|
||||
position: relative;
|
||||
margin: 0;
|
||||
font-size: 12px;
|
||||
list-style: none;
|
||||
.thought-chain-output {
|
||||
position: relative;
|
||||
&.hasLine {
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-left: 1px solid #e6e6e8;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.xt-bubble-avatar {
|
||||
}
|
||||
|
||||
.xt-bubble-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@ -104,25 +80,52 @@
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
:deep(table) {
|
||||
border-collapse: collapse;
|
||||
thead {
|
||||
tr {
|
||||
th {
|
||||
@include cts;
|
||||
padding: 6px 8px;
|
||||
border: 1px solid #e6e6e8;
|
||||
text-align: left;
|
||||
.thought-chain-item {
|
||||
position: relative;
|
||||
margin: 0;
|
||||
font-size: 12px;
|
||||
list-style: none;
|
||||
.thought-chain-output {
|
||||
position: relative;
|
||||
&.hasLine {
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-left: 1px solid #e6e6e8;
|
||||
}
|
||||
}
|
||||
}
|
||||
tbody {
|
||||
tr {
|
||||
td {
|
||||
@include cts;
|
||||
border: 1px solid #e6e6e8;
|
||||
padding: 16px 8px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
// 设置markdown返回的标签样式
|
||||
:deep(.markdown-wrap) {
|
||||
pre {
|
||||
white-space: normal;
|
||||
}
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
thead {
|
||||
tr {
|
||||
th {
|
||||
@include cts;
|
||||
padding: 6px 8px;
|
||||
border: 1px solid #e6e6e8;
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
}
|
||||
tbody {
|
||||
tr {
|
||||
td {
|
||||
@include cts;
|
||||
border: 1px solid #e6e6e8;
|
||||
padding: 16px 8px;
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user