mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-29 02:41:07 +00:00
fix(control-ui): size grouped chat bubbles by content
This commit is contained in:
@@ -24,11 +24,12 @@
|
||||
gap: 2px;
|
||||
flex: 1 1 auto;
|
||||
max-width: min(900px, 68%);
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
/* User messages align content right */
|
||||
.chat-group.user .chat-group-messages {
|
||||
align-items: stretch;
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
@@ -195,7 +196,7 @@ img.chat-avatar {
|
||||
transition:
|
||||
background var(--duration-fast) ease-out,
|
||||
border-color var(--duration-fast) ease-out;
|
||||
width: 100%;
|
||||
width: auto;
|
||||
max-width: 100%;
|
||||
box-sizing: border-box;
|
||||
word-wrap: break-word;
|
||||
|
||||
Reference in New Issue
Block a user