Skip to content

Commit 5971b1a

Browse files
authored
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 cd3f4da, 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.
2 parents 3ca0cd0 + 3bbb328 commit 5971b1a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Diff for: src/librustdoc/html/static/css/rustdoc.css

-5
Original file line numberDiff line numberDiff line change
@@ -1025,8 +1025,6 @@ so that we can apply CSS-filters to change the arrow color in themes */
10251025
font-size: 1.125rem;
10261026
}
10271027
#help-button span.top {
1028-
text-align: center;
1029-
display: block;
10301028
margin: 10px 0;
10311029
border-bottom: 1px solid var(--border-color);
10321030
padding-bottom: 4px;
@@ -1036,9 +1034,6 @@ so that we can apply CSS-filters to change the arrow color in themes */
10361034
clear: both;
10371035
border-top: 1px solid var(--border-color);
10381036
}
1039-
.side-by-side {
1040-
text-align: initial;
1041-
}
10421037
.side-by-side > div {
10431038
width: 50%;
10441039
float: left;

0 commit comments

Comments
 (0)