Commit 98b8c90
Changed files (2)
src
contents
_lib
components
styles
article
src/contents/_lib/components/fullwidth.typ
@@ -7,6 +7,6 @@
content,
)
} else {
- return content
+ return block(width: 100%, content)
}
}
src/styles/article/fullwidth.css
@@ -3,4 +3,8 @@
@variant md {
@apply w-3/2 clear-both;
}
+
+ img {
+ @apply w-full h-auto;
+ }
}