Fix for smaller images

This commit is contained in:
Lim Chee Aun 2023-12-10 19:13:11 +08:00
parent a039f84c9d
commit 7dd0b0a4fb

View file

@ -688,6 +688,13 @@
margin-inline: -16px;
max-width: calc(100% + 16px + 16px) !important;
figure:before {
content: '';
display: block;
/* padding (16px) - gap (4px) */
flex-basis: calc(16px - 4px);
}
figure figcaption {
padding-inline: 16px !important;
}