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

fix(style): 🎉 update img element. #215

Merged
merged 1 commit into from
Feb 22, 2023
Merged

fix(style): 🎉 update img element. #215

merged 1 commit into from
Feb 22, 2023

Conversation

gokhangunduz
Copy link
Contributor

Most of the most popular CSS libraries used with React define "display: block" in the "img" tag by default. For this reason, two img elements that need to be next to each other must be one under the other.

To give a direct example, Tailwind and Bootstrap.

While working with React, Tailwind and react-markdown-preview, this problem, which started with two img elements that should be side by side, caused me exactly 2 nights;(

When I found the problem, I checked other popular CSS libraries, same situation.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@jaywcjlove jaywcjlove merged commit 67861d9 into uiwjs:master Feb 22, 2023
@jaywcjlove
Copy link
Member

@gokhangunduz Upgrade v4.1.9

jaywcjlove added a commit that referenced this pull request Feb 22, 2023
github-actions bot added a commit that referenced this pull request Feb 22, 2023
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.

None yet

2 participants