[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: ~'@{supersonic-chat-prefix}-bar';
.@{bar-cls} { .@{bar-cls} {
height: 300px; height: 270px;
margin-top: 20px; margin-top: 16px;
} }

View File

@@ -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 {

View File

@@ -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