(improvement)(chat-sdk) optimize message card width and show table when metrics count is greater than 1 (#1496)

This commit is contained in:
williamhliu
2024-07-31 15:32:50 +08:00
committed by GitHub
parent 27a70de1be
commit 55abc883ab
7 changed files with 38 additions and 24 deletions

View File

@@ -97,18 +97,13 @@
width: 100%;
}
&-msg-card {
flex: 1;
}
&-content {
position: relative;
box-sizing: border-box;
min-width: 1px;
max-width: 100%;
padding: 12px 16px;
padding: 12px 20px 12px 16px;
background: #fff;
min-height: 100px;
border: 1px solid transparent;
border-radius: 12px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.14), 0 0 2px rgba(0, 0, 0, 0.12);