Skip to content

Commit 9beb9bb

Browse files
Fix display of features in rustdoc
1 parent cf8d812 commit 9beb9bb

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/librustdoc/html/static/css/rustdoc.css

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1081,15 +1081,9 @@ so that we can apply CSS-filters to change the arrow color in themes */
10811081
}
10821082

10831083
.item-info .stab {
1084-
/* This min-height is needed to unify the height of the stab elements because some of them
1085-
have emojis.
1086-
*/
1087-
min-height: 36px;
1088-
display: flex;
1084+
display: block;
10891085
padding: 3px;
10901086
margin-bottom: 5px;
1091-
align-items: center;
1092-
vertical-align: text-bottom;
10931087
}
10941088
.item-name .stab {
10951089
margin-left: 0.3125em;
@@ -1100,11 +1094,9 @@ so that we can apply CSS-filters to change the arrow color in themes */
11001094
font-weight: normal;
11011095
color: var(--main-color);
11021096
background-color: var(--stab-background-color);
1103-
width: fit-content;
11041097
white-space: pre-wrap;
11051098
border-radius: 3px;
11061099
display: inline;
1107-
vertical-align: baseline;
11081100
}
11091101

11101102
.stab.portability > code {

0 commit comments

Comments
 (0)