mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #6114 from tk0miya/6113_adjust_css
Fix #6113: html: Table cells and list items have large margins
This commit is contained in:
commit
0068440e73
1
CHANGES
1
CHANGES
@ -18,6 +18,7 @@ Bugs fixed
|
||||
|
||||
* #6096: html: Anchor links are not added to figures
|
||||
* #3620: html: Defer searchindex.js rather than loading it via ajax
|
||||
* #6113: html: Table cells and list items have large margins
|
||||
* #5508: ``linenothreshold`` option for ``highlight`` directive was ignored
|
||||
|
||||
Testing
|
||||
|
@ -401,11 +401,13 @@ table.citation td {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
th > p:first-child,
|
||||
td > p:first-child {
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
td > p:only-child {
|
||||
th > p:last-child,
|
||||
td > p:last-child {
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
@ -482,7 +484,7 @@ li > p:first-child {
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
li > p:only-child {
|
||||
li > p:last-child {
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user