Fix chat attachment preview width

This commit is contained in:
QQ 2026-11-28 16:25:57 +08:00
parent 268f4c427c
commit 348f774669
2 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -54,8 +54,8 @@
/* The host row needs the full axis. The fallback renders its bubble, images
and actions as separate children of the same slot outlet. */
.userCluster > [data-slot] > :not(.user, .userImages, .userActions) { align-self: stretch; width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
.userImages { display: flex; flex-direction: column; align-items: flex-end; align-self: flex-end; width: fit-content; max-width: 100%; min-width: 0; }
.userImages .imageFigure { align-self: flex-end; }
.userImages { display: flex; flex-direction: column; align-items: flex-end; align-self: flex-end; width: min(100%, 360px); min-width: 0; }
.userImages .imageFigure { align-self: flex-end; width: 100%; }
.user { align-self: flex-end; width: fit-content; max-width: min(calc(var(--dsh-chat-content-width, 748px) * 0.702), 82%); margin-left: auto; padding: 10px 16px; border-radius: var(--dsw-radius-xl, 22px); background: var(--dsw-specific-bubble); color: var(--dsw-alias-label-primary); font-size: var(--dsh-content-font-size, 14px); line-height: calc(22px + var(--dsh-content-font-delta, 0px)); font-weight: 400; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; box-sizing: border-box; }
.user .blocks { gap: 10px; }
.answer { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }