bashtage / sphinx-material

A material-based, responsive theme inspired by mkdocs-material
Other
317 stars 91 forks source link

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

Open johnthagen opened 4 years ago

johnthagen commented 4 years ago

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 commented 3 years ago

can i try?

johnthagen commented 3 years ago

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

bashtage commented 3 years ago

I aways welcome contributions!

On Sun, Oct 4, 2020, 21:08 Anmol2001 notifications@github.com wrote:

can i try?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bashtage/sphinx-material/issues/71#issuecomment-703308975, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABKTSRJA63OZILER6XA53Z3SJDI45ANCNFSM4RNCCMJQ .

Anmol2001 commented 3 years ago

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

Anmol2001 commented 3 years ago

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

bashtage commented 3 years ago

@Anmol2001 I added it to both I think.

bashtage commented 3 years ago

image

Anmol2001 commented 3 years ago

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

bashtage commented 3 years ago

Fixed.

Anmol2001 commented 3 years ago

@bashtage please check my new comment on my pull request

bashtage commented 3 years ago

@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 commented 3 years ago

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

RupinVijan commented 2 years ago

can I contribute?

Vanshikasharma620 commented 2 years ago

Can I contribute?