Simplify layout of full-width images

This commit is contained in:
Tom Moor
2024-05-27 14:12:38 -04:00
parent f9dac3cba1
commit f58f309321
3 changed files with 23 additions and 25 deletions

View File

@@ -553,7 +553,7 @@ iframe.embed {
max-width: 100vw;
clear: both;
position: initial;
${props.rtl ? `margin-right: var(--offset)` : `margin-left: var(--offset)`};
transform: translateX(calc(50% + var(--container-width) * -0.5));
img {
max-width: 100vw;