diff --git a/web/hwlab-cloud-web/src/styles/workbench.css b/web/hwlab-cloud-web/src/styles/workbench.css index 2c66b760..faca5d58 100644 --- a/web/hwlab-cloud-web/src/styles/workbench.css +++ b/web/hwlab-cloud-web/src/styles/workbench.css @@ -629,7 +629,9 @@ } .message-card[data-role="user"] { - width: fit-content; + justify-self: end; + width: max-content; + min-width: min(120px, 100%); max-width: min(720px, 100%); margin-left: auto; border-color: #bfdbfe; @@ -639,6 +641,8 @@ } .message-card[data-role="user"] .message-text { + max-width: 100%; + overflow-wrap: anywhere; font-size: 13px; line-height: 1.4; }