mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #4548 from tk0miya/3942_html_table_is_not_aligned
Fix #3942: html: table is not aligned to center even if ``:align: center``
This commit is contained in:
commit
0396a604cd
1
CHANGES
1
CHANGES
@ -30,6 +30,7 @@ Bugs fixed
|
|||||||
* #3953: Do not raise warning when there is a working intersphinx inventory
|
* #3953: Do not raise warning when there is a working intersphinx inventory
|
||||||
* #4487: math: ValueError is raised on parallel build. Thanks to jschueller.
|
* #4487: math: ValueError is raised on parallel build. Thanks to jschueller.
|
||||||
* #2372: autosummary: invalid signatures are shown for type annotated functions
|
* #2372: autosummary: invalid signatures are shown for type annotated functions
|
||||||
|
* #3942: html: table is not aligned to center even if ``:align: center``
|
||||||
|
|
||||||
Testing
|
Testing
|
||||||
--------
|
--------
|
||||||
|
@ -332,6 +332,11 @@ table.docutils {
|
|||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
table.align-center {
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
}
|
||||||
|
|
||||||
table caption span.caption-number {
|
table caption span.caption-number {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user