Skip to content

Commit 3bbb328

Browse files
committed
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.
1 parent 57ee5cf commit 3bbb328

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
@@ -1019,8 +1019,6 @@ so that we can apply CSS-filters to change the arrow color in themes */
10191019
font-size: 1.125rem;
10201020
}
10211021
#help-button span.top {
1022-
text-align: center;
1023-
display: block;
10241022
margin: 10px 0;
10251023
border-bottom: 1px solid var(--border-color);
10261024
padding-bottom: 4px;
@@ -1030,9 +1028,6 @@ so that we can apply CSS-filters to change the arrow color in themes */
10301028
clear: both;
10311029
border-top: 1px solid var(--border-color);
10321030
}
1033-
.side-by-side {
1034-
text-align: initial;
1035-
}
10361031
.side-by-side > div {
10371032
width: 50%;
10381033
float: left;

0 commit comments

Comments
 (0)