feat: better styles for figure img <100% width

This commit is contained in:
Iain Learmonth 2026-04-16 10:00:26 +01:00
parent 6b28434d42
commit 2fa452c8b4

View file

@ -129,10 +129,12 @@ figure {
background-color: v.$color_hr; background-color: v.$color_hr;
border: 1px solid v.$color_tertiary; border: 1px solid v.$color_tertiary;
padding: 4px; padding: 4px;
text-align: center;
} }
figure img { figure img {
max-width: 100%; max-width: 100%;
border: 1px solid v.$color_tertiary;
} }
figcaption p { figcaption p {