Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CARE-5989] Fix - GIFs alignment #92

Merged
merged 3 commits into from
Sep 3, 2024
Merged

[CARE-5989] Fix - GIFs alignment #92

merged 3 commits into from
Sep 3, 2024

Conversation

yuriyyakym
Copy link
Contributor

No description provided.

@yuriyyakym yuriyyakym merged commit 95e6c6c into master Sep 3, 2024
9 checks passed
@yuriyyakym yuriyyakym deleted the fix/gifs-alignment branch September 3, 2024 08:40
@@ -14,7 +14,6 @@ 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(),
Copy link
Contributor

@e1himself e1himself Sep 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By the way, removing classes here is potentially dangerous. Because they are global, there's a chance a theme implementation uses these to style content.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants