Skip to content

Commit 94c9785

Browse files
committed
Revert removed global classname
1 parent 1bb3389 commit 94c9785

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/Media/Media.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ interface Props {
1414
export function Media({ className, image, style, title }: Props) {
1515
const computedClassName = classNames('prezly-slate-media', className, {
1616
'prezly-slate-media--image': !image.isGif(),
17+
'prezly-slate-media--video': image.isGif(),
1718
});
1819

1920
if (image.isGif()) {

0 commit comments

Comments
 (0)