diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2023-01-23 11:52:05 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-23 11:52:05 +0530 |
| commit | d9593768d4ce78d6ddd73e57958d503eba0d373f (patch) | |
| tree | f141ca9804c99d8088572dde2177eeb4152c60d3 | |
| parent | f4f3335114e5e2588707f5fedf3bd290e18e4732 (diff) | |
| parent | 26e2360b263930aa919a0604a79e8dba2c1284cf (diff) | |
| download | rust-d9593768d4ce78d6ddd73e57958d503eba0d373f.tar.gz rust-d9593768d4ce78d6ddd73e57958d503eba0d373f.zip | |
Rollup merge of #107186 - GuillaumeGomez:correct-pseudo-element-selector, r=notriddle
rustdoc: Use correct pseudo-element selector As explained [here](https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-elements#syntax). I wrote it on top of #107152 so we'll need to wait for this one to be merged first. r? `@notriddle`
| -rw-r--r-- | src/librustdoc/html/static/css/rustdoc.css | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css index e0d64c231a6..424bbb0ec42 100644 --- a/src/librustdoc/html/static/css/rustdoc.css +++ b/src/librustdoc/html/static/css/rustdoc.css @@ -1897,21 +1897,21 @@ in storage.js right: 0.25em; } -.scraped-example:not(.expanded) .code-wrapper:before, -.scraped-example:not(.expanded) .code-wrapper:after { +.scraped-example:not(.expanded) .code-wrapper::before, +.scraped-example:not(.expanded) .code-wrapper::after { content: " "; width: 100%; height: 5px; position: absolute; z-index: 1; } -.scraped-example:not(.expanded) .code-wrapper:before { +.scraped-example:not(.expanded) .code-wrapper::before { top: 0; background: linear-gradient(to bottom, var(--scrape-example-code-wrapper-background-start), var(--scrape-example-code-wrapper-background-end)); } -.scraped-example:not(.expanded) .code-wrapper:after { +.scraped-example:not(.expanded) .code-wrapper::after { bottom: 0; background: linear-gradient(to top, var(--scrape-example-code-wrapper-background-start), |
