Commit 98b8c90

HPCesia <me@hpcesia.com>
2026-03-22 18:21:17
Fix image with in fullwidth component
1 parent 7ef0f9f
Changed files (2)
src
contents
_lib
components
styles
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;
+  }
 }