Rollup merge of #102367 - notriddle:notriddle/help-text-align, r=GuillaumeGomez
rustdoc: remove redundant `#help-button` CSS
When the separate top and bottom styles were added in cd3f4da244
, some of the CSS rules were needlessly duplicated.
The `text-align: initial` rule on `.side-by-side` was always redundant, since the rules that centered the text were set on children, not parents.
This commit is contained in:
commit
5971b1a921
@ -1025,8 +1025,6 @@ so that we can apply CSS-filters to change the arrow color in themes */
|
|||||||
font-size: 1.125rem;
|
font-size: 1.125rem;
|
||||||
}
|
}
|
||||||
#help-button span.top {
|
#help-button span.top {
|
||||||
text-align: center;
|
|
||||||
display: block;
|
|
||||||
margin: 10px 0;
|
margin: 10px 0;
|
||||||
border-bottom: 1px solid var(--border-color);
|
border-bottom: 1px solid var(--border-color);
|
||||||
padding-bottom: 4px;
|
padding-bottom: 4px;
|
||||||
@ -1036,9 +1034,6 @@ so that we can apply CSS-filters to change the arrow color in themes */
|
|||||||
clear: both;
|
clear: both;
|
||||||
border-top: 1px solid var(--border-color);
|
border-top: 1px solid var(--border-color);
|
||||||
}
|
}
|
||||||
.side-by-side {
|
|
||||||
text-align: initial;
|
|
||||||
}
|
|
||||||
.side-by-side > div {
|
.side-by-side > div {
|
||||||
width: 50%;
|
width: 50%;
|
||||||
float: left;
|
float: left;
|
||||||
|
Loading…
Reference in New Issue
Block a user