Commit 76d496d
committed
fix: cap link-wrapped icon images at 110x110 so /documentation /community landing pages don't render giant thumbnails
The PNGs under /uploads/documentation and /uploads/community are
authored as link-wrapped icon thumbnails on the original Joomla
landing pages -- but the actual source files are ~459x459 even when
the filename advertises 110x110, so the default \`max-width: 100%\`
let them swell to the full content-column width on the new site
(each "For Users" / "For Developers" / "Citing us" module was
literally hundreds of pixels tall).
Targets only \`.page-body a > img:only-child\` (an image inside an
otherwise-empty link, which is the icon-thumbnail convention).
Content images that sit on their own outside a link keep the
existing 100% behaviour.1 parent ed605c8 commit 76d496d
1 file changed
Lines changed: 14 additions & 0 deletions
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
6 | 20 | | |
7 | 21 | | |
8 | 22 | | |
| |||
0 commit comments