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

Figure is not centered if there is no text before it #1336

Closed
humitos opened this issue Jun 16, 2014 · 1 comment
Closed

Figure is not centered if there is no text before it #1336

humitos opened this issue Jun 16, 2014 · 1 comment
Assignees
Labels
Milestone

Comments

@humitos
Copy link
Member

humitos commented Jun 16, 2014

If you create a post like this one, you will get you image left aligned

.. title: Title
.. slug: title
.. date: 2014-06-16 13:15:20 UTC-03:00
.. tags: tags
.. link: 
.. description: 
.. type: text

.. figure:: picture.thumbnail.jpg
   :target: picture.jpg

   Title goes here

but if you add some text before the .. figure:: directive you will get your image centered. I checked the html output and it seems like there is a <div> missing when there is no text at all. For reference: 1ce1e8f

@Kwpolska Kwpolska added the bug label Aug 5, 2014
@Kwpolska Kwpolska added this to the v7.0.2 milestone Aug 5, 2014
@Kwpolska Kwpolska self-assigned this Aug 5, 2014
@Kwpolska
Copy link
Member

Kwpolska commented Aug 5, 2014

Should be fixed in #1351.

@Kwpolska Kwpolska closed this as completed Aug 5, 2014
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

2 participants