Create new CSS class for "big toggles"
This commit is contained in:
parent
fbc794fe1e
commit
a868b3fce7
@ -1267,7 +1267,7 @@ fn render_assoc_items_inner(
|
||||
let id =
|
||||
cx.derive_id(small_url_encode(format!("deref-methods-{:#}", type_.print(cx))));
|
||||
let derived_id = cx.derive_id(&id);
|
||||
tmp_buf.write_str("<details class=\"toggle implementors-toggle\" open><summary>");
|
||||
tmp_buf.write_str("<details class=\"toggle big-toggle\" open><summary>");
|
||||
close_tags.push("</details>");
|
||||
write_impl_section_heading(
|
||||
&mut tmp_buf,
|
||||
|
@ -1733,7 +1733,7 @@ details.toggle {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
details.implementors-toggle {
|
||||
details.big-toggle {
|
||||
/* This makes [-] on the same line as <summary>. */
|
||||
contain: inline-size;
|
||||
}
|
||||
@ -1828,7 +1828,7 @@ details.toggle > summary:not(.hideme)::before {
|
||||
left: -24px;
|
||||
}
|
||||
|
||||
details.implementors-toggle > summary:not(.hideme)::before {
|
||||
details.big-toggle > summary:not(.hideme)::before {
|
||||
left: -34px;
|
||||
top: 9px;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user