Skip to content

Commit

Permalink
Revert removed global classname
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriyyakym committed Sep 3, 2024
1 parent 1bb3389 commit 94c9785
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Media/Media.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ interface Props {
export function Media({ className, image, style, title }: Props) {
const computedClassName = classNames('prezly-slate-media', className, {
'prezly-slate-media--image': !image.isGif(),
'prezly-slate-media--video': image.isGif(),
});

if (image.isGif()) {
Expand Down

0 comments on commit 94c9785

Please sign in to comment.