diff --git a/components/JsonToHtml/jsontohtml.module.css b/components/JsonToHtml/jsontohtml.module.css
index a85bf0e38..12bfd0bc8 100644
--- a/components/JsonToHtml/jsontohtml.module.css
+++ b/components/JsonToHtml/jsontohtml.module.css
@@ -1,10 +1,15 @@
-.image {
- max-width: 100%;
+.imageContainer {
+ position: relative;
width: 100%;
height: 365px;
- object-fit: cover;
border-radius: var(--Corner-radius-Medium);
margin: var(--Spacing-x1) var(--Spacing-x0);
+ overflow: hidden;
+}
+
+.image {
+ width: 100%;
+ object-fit: cover;
}
.ul,
diff --git a/components/JsonToHtml/renderOptions.tsx b/components/JsonToHtml/renderOptions.tsx
index 3e09663b9..845813508 100644
--- a/components/JsonToHtml/renderOptions.tsx
+++ b/components/JsonToHtml/renderOptions.tsx
@@ -325,14 +325,16 @@ export const renderOptions: RenderOptions = {
const props = extractPossibleAttributes(node.attrs)
props.className = styles.image
return (
-