mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-10-12 16:32:10 -05:00
Fix #3942: html: table is not aligned to center even if `:align: center`
This commit is contained in:
1 parent
402e49ea1d
commit
af19e21ffc
2 files changed
+6
No files matched your search
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user