Skip to content

Commit d46e558

Browse files
committed
rustdoc: remove no-op CSS .impl { position: relative } etc
This property was added to help with positioning the `[+]/[-]` toggle. It is no longer necessary, because `details.rustdoc-toggle` already has `position:relative` set on it.
1 parent 835a102 commit d46e558

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

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

-11
Original file line numberDiff line numberDiff line change
@@ -184,17 +184,6 @@ h4.code-header {
184184
margin: 0;
185185
padding: 0;
186186
}
187-
.impl,
188-
.impl-items .method,
189-
.methods .method,
190-
.impl-items .type,
191-
.methods .type,
192-
.impl-items .associatedconstant,
193-
.methods .associatedconstant,
194-
.impl-items .associatedtype,
195-
.methods .associatedtype {
196-
position: relative;
197-
}
198187

199188
#crate-search,
200189
h1, h2, h3, h4, h5, h6,

0 commit comments

Comments
 (0)