rustdoc: merge separate .item-info
CSS
Rough timeline: * The longer `.content .item-info` selector originated in110e7270ab
. No reason seems to be given in the PR why it needed the `.content` part, but it was probably added because of <110e7270ab/src/librustdoc/html/static/rustdoc.css (L476-L478)
>. That selector with the margin-bottom was removed when CSS containment was added in8846c0853d
. * `.stability` was renamed `.item-info` incaf6c5790a
. * The selector without the `.content` was added ind48a39a5e2
.
This commit is contained in:
parent
538f118da1
commit
f8da2295de
@ -694,16 +694,13 @@ pre, .rustdoc.source .example-wrap {
|
||||
|
||||
.item-info {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.content .item-info code {
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
.content .item-info {
|
||||
margin-left: 24px;
|
||||
}
|
||||
|
||||
.item-info code {
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
#main-content > .item-info {
|
||||
margin-top: 0;
|
||||
margin-left: 0;
|
||||
@ -1948,7 +1945,7 @@ in storage.js plus the media query with (min-width: 701px)
|
||||
}
|
||||
|
||||
/* Align summary-nested and unnested item-info gizmos. */
|
||||
.content .impl-items > .item-info {
|
||||
.impl-items > .item-info {
|
||||
margin-left: 34px;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user