diff options
| author | bors <bors@rust-lang.org> | 2021-12-05 18:35:43 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-12-05 18:35:43 +0000 |
| commit | e2116acae59654bfab2a9729a024f3e2fd6d4b02 (patch) | |
| tree | acf2e464a8cda6c81c8bee7b12489ac8991210ba /src/test/rustdoc-gui/check-code-blocks-margin.goml | |
| parent | 772d51f887fa407216860bf8ecf3f1a32fb795b4 (diff) | |
| parent | d7528e2157762fadb9665518fd1e4dee6d6a2809 (diff) | |
| download | rust-e2116acae59654bfab2a9729a024f3e2fd6d4b02.tar.gz rust-e2116acae59654bfab2a9729a024f3e2fd6d4b02.zip | |
Auto merge of #91356 - GuillaumeGomez:improve-rustdoc-layout, r=jsha
Improve rustdoc layout This is an overtake of https://github.com/rust-lang/rust/pull/89385 originally written by `@cynecx.` I kept the original commit and simply added the missing fixes into a new one. You can test it online [here](https://rustdoc.crud.net/imperio/improve-rustdoc-layout/std/index.html). r? `@jsha`
Diffstat (limited to 'src/test/rustdoc-gui/check-code-blocks-margin.goml')
| -rw-r--r-- | src/test/rustdoc-gui/check-code-blocks-margin.goml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/rustdoc-gui/check-code-blocks-margin.goml b/src/test/rustdoc-gui/check-code-blocks-margin.goml index 2de47682856..f6266eba75d 100644 --- a/src/test/rustdoc-gui/check-code-blocks-margin.goml +++ b/src/test/rustdoc-gui/check-code-blocks-margin.goml @@ -1,6 +1,6 @@ // This test ensures that the docblock elements have the appropriate left margin. goto: file://|DOC_PATH|/test_docs/fn.foo.html // The top docblock elements shouldn't have left margin... -assert-css: ("#main .docblock.item-decl", {"margin-left": "0px"}) +assert-css: ("#main-content .docblock.item-decl", {"margin-left": "0px"}) // ... but all the others should! -assert-css: ("#main .docblock:not(.item-decl)", {"margin-left": "24px"}) +assert-css: ("#main-content .docblock:not(.item-decl)", {"margin-left": "24px"}) |
