diff --git a/packages/ui/src/components/Organisms/PageContent/BlockMedia.tsx b/packages/ui/src/components/Organisms/PageContent/BlockMedia.tsx index 532bd8697..70f6e7ffe 100644 --- a/packages/ui/src/components/Organisms/PageContent/BlockMedia.tsx +++ b/packages/ui/src/components/Organisms/PageContent/BlockMedia.tsx @@ -2,27 +2,24 @@ import { BlockMediaFragment, Html, Image } from '@custom/schema'; import React from 'react'; import { UnreachableCaseError } from '../../../utils/unreachable-case-error'; -import { ScrollPop } from '../../Client/ScrollPop'; export function BlockMedia(props: BlockMediaFragment) { if (!props.media) { return null; } return ( - -
-
-
- - {props.caption ? ( -
- -
- ) : null} -
-
+
+
+
+ + {props.caption ? ( +
+ +
+ ) : null} +
- +
); }