style(ui): adjust image width in MdxComponents for better responsiveness

This commit is contained in:
Melvin Chia
2026-01-20 11:52:37 +08:00
parent 818781cce1
commit bcf6f7e9c3

View File

@@ -111,7 +111,7 @@ export const components: MDXComponents = {
return (
<Zoom zoomImg={properties.src}>
<div className="flex-center w-full pt-2 pb-4">
<img {...properties} alt="" className="rounded-lg sm:w-[80%]" />
<img {...properties} alt="" className="rounded-lg sm:w-[90%]" />
</div>
</Zoom>
)