mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-12 20:51:48 +00:00
[feature](webapp) modify multy-turn conversation and optimize css styles (#11)
williamhliu <williamhliu@tencent.com>
This commit is contained in:
@@ -3,6 +3,6 @@
|
|||||||
@bar-cls: ~'@{supersonic-chat-prefix}-bar';
|
@bar-cls: ~'@{supersonic-chat-prefix}-bar';
|
||||||
|
|
||||||
.@{bar-cls} {
|
.@{bar-cls} {
|
||||||
height: 300px;
|
height: 270px;
|
||||||
margin-top: 20px;
|
margin-top: 16px;
|
||||||
}
|
}
|
||||||
@@ -7,7 +7,7 @@
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
margin-top: 20px;
|
margin-top: 16px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
row-gap: 4px;
|
row-gap: 4px;
|
||||||
|
|
||||||
@@ -35,14 +35,14 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&-flow-trend-chart {
|
&-flow-trend-chart {
|
||||||
height: 300px;
|
height: 270px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-charts {
|
&-charts {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
row-gap: 20px;
|
row-gap: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-metric-fields {
|
&-metric-fields {
|
||||||
|
|||||||
@@ -68,7 +68,6 @@ const MessageContainer: React.FC<Props> = ({
|
|||||||
if (
|
if (
|
||||||
(msg.type === MessageTypeEnum.QUESTION || msg.type === MessageTypeEnum.INSTRUCTION) &&
|
(msg.type === MessageTypeEnum.QUESTION || msg.type === MessageTypeEnum.INSTRUCTION) &&
|
||||||
!!currentMsgDomainId &&
|
!!currentMsgDomainId &&
|
||||||
!!currentMsgEntityId &&
|
|
||||||
msgDomainId === currentMsgDomainId &&
|
msgDomainId === currentMsgDomainId &&
|
||||||
msgEntityId === currentMsgEntityId &&
|
msgEntityId === currentMsgEntityId &&
|
||||||
msg.msg
|
msg.msg
|
||||||
|
|||||||
Reference in New Issue
Block a user