[feature](webapp) modify multy-turn conversation and optimize css styles (#11)

williamhliu <williamhliu@tencent.com>
This commit is contained in:
williamhliu
2023-07-03 19:28:55 +08:00
committed by GitHub
parent 291187229c
commit ef4fca9671
3 changed files with 5 additions and 6 deletions

View File

@@ -3,6 +3,6 @@
@bar-cls: ~'@{supersonic-chat-prefix}-bar';
.@{bar-cls} {
height: 300px;
margin-top: 20px;
height: 270px;
margin-top: 16px;
}

View File

@@ -7,7 +7,7 @@
flex-direction: column;
align-items: center;
justify-content: center;
margin-top: 20px;
margin-top: 16px;
width: 100%;
row-gap: 4px;
@@ -35,14 +35,14 @@
}
&-flow-trend-chart {
height: 300px;
height: 270px;
}
&-charts {
display: flex;
flex-direction: column;
width: 100%;
row-gap: 20px;
row-gap: 16px;
}
&-metric-fields {

View File

@@ -68,7 +68,6 @@ const MessageContainer: React.FC<Props> = ({
if (
(msg.type === MessageTypeEnum.QUESTION || msg.type === MessageTypeEnum.INSTRUCTION) &&
!!currentMsgDomainId &&
!!currentMsgEntityId &&
msgDomainId === currentMsgDomainId &&
msgEntityId === currentMsgEntityId &&
msg.msg