diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2024-10-08 20:53:11 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2024-10-09 21:01:08 +0200 |
| commit | 16844e24850700386b6a7fc482738400a2f115c9 (patch) | |
| tree | d646a0f10806bad30a8cf9eb23e166a84000f271 | |
| parent | a1eceec00b2684f947481696ae2322e20d59db60 (diff) | |
| download | rust-16844e24850700386b6a7fc482738400a2f115c9.tar.gz rust-16844e24850700386b6a7fc482738400a2f115c9.zip | |
Fix methods alignment on mobile
| -rw-r--r-- | src/librustdoc/html/static/css/rustdoc.css | 2 | ||||
| -rw-r--r-- | tests/rustdoc-gui/notable-trait.goml | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css index 5f6f3c65c7f..3fee73d6e5d 100644 --- a/src/librustdoc/html/static/css/rustdoc.css +++ b/src/librustdoc/html/static/css/rustdoc.css @@ -2435,7 +2435,7 @@ in src-script.js and main.js } /* Position of the "[-]" element. */ - details.toggle:not(.top-doc) > summary { + details.toggle:not(.top-doc) > summary, .impl-items > section { margin-left: 10px; } .impl-items > details.toggle > summary:not(.hideme)::before, diff --git a/tests/rustdoc-gui/notable-trait.goml b/tests/rustdoc-gui/notable-trait.goml index b8fa26b17f6..43a7e8a8f51 100644 --- a/tests/rustdoc-gui/notable-trait.goml +++ b/tests/rustdoc-gui/notable-trait.goml @@ -85,8 +85,8 @@ call-function: ("check-notable-tooltip-position", { // Checking on mobile now. set-window-size: (650, 600) call-function: ("check-notable-tooltip-position-complete", { - "x": 15, - "i_x": 293, + "x": 25, + "i_x": 303, "popover_x": 0, }) |
