Skip to content

Commit

Permalink
Fix display of features in rustdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Dec 6, 2023
1 parent cf8d812 commit b2b6620
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/librustdoc/html/static/css/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -1081,15 +1081,9 @@ so that we can apply CSS-filters to change the arrow color in themes */
}

.item-info .stab {
/* This min-height is needed to unify the height of the stab elements because some of them
have emojis.
*/
min-height: 36px;
display: flex;
display: block;
padding: 3px;
margin-bottom: 5px;
align-items: center;
vertical-align: text-bottom;
}
.item-name .stab {
margin-left: 0.3125em;
Expand All @@ -1104,7 +1098,6 @@ so that we can apply CSS-filters to change the arrow color in themes */
white-space: pre-wrap;
border-radius: 3px;
display: inline;
vertical-align: baseline;
}

.stab.portability > code {
Expand Down

0 comments on commit b2b6620

Please sign in to comment.