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

Inline Attributes Disable Image Centring #35

Open
Foggalong opened this issue Sep 14, 2021 · 0 comments
Open

Inline Attributes Disable Image Centring #35

Foggalong opened this issue Sep 14, 2021 · 0 comments
Labels
Milestone

Comments

@Foggalong
Copy link
Owner

When adding an inline attribute to an image to control its width, as in

![polyyolks]({{ 'path/polyyolks.jpeg' | relative_url}}){: style="max-width: 300px;" }

the automatic centring of the image by markdown is turned off and it aligns to left. This can be fixed by adding display: block; into the style of images as standard (which can be overridden in Wren by using the left or right image class).

@Foggalong Foggalong added the bug label Sep 14, 2021
@Foggalong Foggalong added this to the v0.5 milestone Sep 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant