We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f93d4a commit 51e658fCopy full SHA for 51e658f
src/librustdoc/html/static/css/rustdoc.css
@@ -1111,7 +1111,14 @@ table,
1111
}
1112
1113
.item-info .stab {
1114
- display: inline-block;
+ width: fit-content;
1115
+ /* This min-height is needed to unify the height of the stab elements because some of them
1116
+ have emojis.
1117
+ */
1118
+ min-height: 36px;
1119
+ display: flex;
1120
+ align-items: center;
1121
+ white-space: pre-wrap;
1122
1123
.stab {
1124
padding: 3px;
@@ -1121,6 +1128,7 @@ table,
1128
1129
.stab p {
1130
display: inline;
1131
+ margin: 0;
1132
1125
1133
1126
1134
.stab .emoji {
0 commit comments