File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
src/librustdoc/html/static/css Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -1081,15 +1081,9 @@ so that we can apply CSS-filters to change the arrow color in themes */
1081
1081
}
1082
1082
1083
1083
.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;
1089
1085
padding : 3px ;
1090
1086
margin-bottom : 5px ;
1091
- align-items : center;
1092
- vertical-align : text-bottom;
1093
1087
}
1094
1088
.item-name .stab {
1095
1089
margin-left : 0.3125em ;
@@ -1100,11 +1094,9 @@ so that we can apply CSS-filters to change the arrow color in themes */
1100
1094
font-weight : normal;
1101
1095
color : var (--main-color );
1102
1096
background-color : var (--stab-background-color );
1103
- width : fit-content;
1104
1097
white-space : pre-wrap;
1105
1098
border-radius : 3px ;
1106
1099
display : inline;
1107
- vertical-align : baseline;
1108
1100
}
1109
1101
1110
1102
.stab .portability > code {
You can’t perform that action at this time.
0 commit comments