Skip to content

Commit dceb9a6

Browse files
Fix methods alignment on mobile
1 parent 10a9ee0 commit dceb9a6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/librustdoc/html/static/css/rustdoc.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -2435,7 +2435,7 @@ in src-script.js and main.js
24352435
}
24362436

24372437
/* Position of the "[-]" element. */
2438-
details.toggle:not(.top-doc) > summary {
2438+
details.toggle:not(.top-doc) > summary, .impl-items > section {
24392439
margin-left: 10px;
24402440
}
24412441
.impl-items > details.toggle > summary:not(.hideme)::before,

tests/rustdoc-gui/notable-trait.goml

+2-2
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ call-function: ("check-notable-tooltip-position", {
8585
// Checking on mobile now.
8686
set-window-size: (650, 600)
8787
call-function: ("check-notable-tooltip-position-complete", {
88-
"x": 15,
89-
"i_x": 293,
88+
"x": 25,
89+
"i_x": 303,
9090
"popover_x": 0,
9191
})
9292

0 commit comments

Comments
 (0)