jonnybarnes.uk/resources/css
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jonny Barnes 11e2c469cb
Fix images overflowing on mobile by preserving aspect ratio
max-width: 100% alone lets img/picture height stay at intrinsic size,
so on narrow viewports images could still overflow vertically or look
squashed. Adding height: auto keeps the aspect ratio correct as width
scales down.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-02 20:02:49 +01:00
..
app.css Redesign v2025.1 2025-12-11 17:17:01 +00:00
colours.css Redesign v2025.1 2025-12-11 17:17:01 +00:00
header.css Redesign v2025.1 2025-12-11 17:17:01 +00:00
layout.css Small mobile layout tweaks 2025-12-11 19:58:17 +00:00
notes.css Allow files to be added to notes 2025-12-27 17:58:43 +00:00
pagination.css Redesign v2025.1 2025-12-11 17:17:01 +00:00
reset.css Fix images overflowing on mobile by preserving aspect ratio 2026-07-02 20:02:49 +01:00
theme-selector.css Redesign v2025.1 2025-12-11 17:17:01 +00:00