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

list-table not aligned to center when :align: center specified #71

Open
johnthagen opened this issue Sep 15, 2020 · 14 comments
Open

list-table not aligned to center when :align: center specified #71

johnthagen opened this issue Sep 15, 2020 · 14 comments

Comments

@johnthagen
Copy link
Contributor

#70 fixed alignment for images, but list-tables seem to still not be aligned when :align: center is specified.

.. list-table:: My Table
   :header-rows: 1
   :align: center

   * - Column 1
     - Column 2
   * - Item 1
     - Item 2

The resulting table will be right justified rather than centered.

Related to #64

@Anmol2001
Copy link

can i try?

@johnthagen
Copy link
Contributor Author

johnthagen commented Oct 4, 2020

Experimenting to find the minimal CSS needed would likely help @bashtage.

@bashtage
Copy link
Owner

bashtage commented Oct 4, 2020 via email

@Anmol2001
Copy link

@bashtage please add the label of "hactoberfest" to the repository and "hactoberfest-accepted" to the pull requests so that more contributions will come.

bashtage added a commit that referenced this issue Oct 12, 2020
Add tables with alignment to help test #71
@Anmol2001
Copy link

@bashtage actually label was supposed to be added to the repository as a whole , not to this particular issue

@bashtage
Copy link
Owner

@Anmol2001 I added it to both I think.

@bashtage
Copy link
Owner

image

@Anmol2001
Copy link

@bashtage there was a typo by me , it was actually "hacktoberfest"

@bashtage
Copy link
Owner

Fixed.

@Anmol2001
Copy link

@bashtage please check my new comment on my pull request

@bashtage
Copy link
Owner

@Anmol2001 Unfortunately this fix doesn't work. I do a lot of munging of tables including stripping classes. This results in the align-center or align-right classes form being removed. This would need to be fixed, then the other css would need to be fixed. It is a relatively big job.

@Adityachaturvedi2906
Copy link

hey, can you please assign me? I would like to work on this.

@RupinVijan
Copy link

can I contribute?

@Vanshikasharma620
Copy link

Can I contribute?

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

Successfully merging a pull request may close this issue.

6 participants