mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-12 09:08:58 -05:00
Merge topic 'version-hanging-indent'
038f4c12e3 Utilities/Sphinx: Add hanging indent to version notes
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8325
This commit is contained in:
@@ -45,6 +45,17 @@ div.sphinxsidebarwrapper {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* Add hanging indent to version-{added,changed} content. */
|
||||
div .versionadded > *,
|
||||
div .versionchanged > * {
|
||||
padding-left: 2em;
|
||||
}
|
||||
|
||||
div.versionadded > :first-child,
|
||||
div.versionchanged > :first-child {
|
||||
text-indent: -2em;
|
||||
}
|
||||
|
||||
/* Remove unwanted margin in case list item contains a div-wrapping
|
||||
directive like `.. versionadded` or `.. deprecated`. */
|
||||
dd > :first-child > p {
|
||||
|
||||
Reference in New Issue
Block a user