-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style(Image): fix alignment oddities (#956)
| 🎫 Fix RM-10636 | | :-------------: | ## 🧰 Changes Images that did not specify their alignment were being forced to the center in MDX; they should default to the left. - [x] [don't force `[align]` to default to `"center"`](https://github.com/readmeio/markdown/pull/956/files#diff-1b96290f278c30bd682c1247de2db226763c471520a387108344a9d53d13de23R19) - [x] [fix some errant CSS alignment selectors](https://github.com/readmeio/markdown/pull/956/files#diff-19c7d495b0c7303322a8a6dcaf6813764594f9e77b9aabc2e5da9a1e274a6d92) ## 🧬 QA & Testing Pull this branch down, run `start`, and try rendering the following syntax: ``` ![](https://files.readme.io/2eb4d36-Screenshot_2024-08-05_at_21.34.12.png) <img align="center" width="50%" src="https://files.readme.io/0bce9dd-image.png" /> ``` If the first image is aligned to the left and the latter is properly centered, this worked! 🎉
- Loading branch information
1 parent
0b5f89b
commit 7382d43
Showing
5 changed files
with
8 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters