Commit 1a35399
fix: link-preview images had no height cap, portrait thumbs filled screen
.dmsg-preview-img used width:100% + height:auto with no upper bound, so
a portrait YouTube thumbnail in a wide chat could render taller than
the viewport. Mirrored the attachment cap (350px) and added
object-fit:cover so portraits get cropped to the cap rather than the
card growing to fit them.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent dcc6186 commit 1a35399
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11920 | 11920 | | |
11921 | 11921 | | |
11922 | 11922 | | |
| 11923 | + | |
| 11924 | + | |
11923 | 11925 | | |
11924 | 11926 | | |
11925 | 11927 | | |
| |||
0 commit comments