mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #7986 from mgeier/css-highlight-selector
basic CSS: fix "highlight-" selector
This commit is contained in:
1
CHANGES
1
CHANGES
@@ -86,6 +86,7 @@ Bugs fixed
|
||||
* #7619: Duplicated node IDs are generated if node has multiple IDs
|
||||
* #2050: Symbols sections are appeared twice in the index page
|
||||
* #8017: Fix circular import in sphinx.addnodes
|
||||
* #7986: CSS: make "highlight" selector more robust
|
||||
|
||||
Testing
|
||||
--------
|
||||
|
||||
@@ -693,7 +693,7 @@ pre {
|
||||
overflow-y: hidden; /* fixes display issues on Chrome browsers */
|
||||
}
|
||||
|
||||
pre, div[class|="highlight"] {
|
||||
pre, div[class*="highlight-"] {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
@@ -704,7 +704,7 @@ span.pre {
|
||||
hyphens: none;
|
||||
}
|
||||
|
||||
div[class^="highlight-"] {
|
||||
div[class*="highlight-"] {
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user