Commit d3dd60d
committed
fix(blog): preserve sticker aspect ratio in conversation snippets
The avatar slot had no explicit width, so the flex layout shrunk it
below 64px and the base img max-width:100% rule then constrained the
sticker to that narrower box. Pin the container to 64×64 with
shrink-0, set max-w-none and object-contain on the img so non-square
source stickers render at their natural aspect ratio.
Assisted-by: Claude Opus 4.7 via Claude Code
Signed-off-by: Xe Iaso <me@xeiaso.net>1 parent 696f579 commit d3dd60d
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
| |||
0 commit comments