mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix duplicated field term colons for Docutils 0.18+ (#10595)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
This commit is contained in:
parent
949984c4e2
commit
4b482334a2
2
CHANGES
2
CHANGES
@ -16,6 +16,8 @@ Features added
|
|||||||
Bugs fixed
|
Bugs fixed
|
||||||
----------
|
----------
|
||||||
|
|
||||||
|
* #10594: HTML Theme: field term colons are doubled if using Docutils 0.18+
|
||||||
|
|
||||||
Testing
|
Testing
|
||||||
--------
|
--------
|
||||||
|
|
||||||
|
@ -686,9 +686,11 @@ dl.field-list > dt {
|
|||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{%- if docutils_version_info[:2] < (0, 18) %}
|
||||||
dl.field-list > dt:after {
|
dl.field-list > dt:after {
|
||||||
content: ":";
|
content: ":";
|
||||||
}
|
}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
dl.field-list > dd {
|
dl.field-list > dd {
|
||||||
padding-left: 0.5em;
|
padding-left: 0.5em;
|
||||||
|
Loading…
Reference in New Issue
Block a user