Rollup merge of #99779 - GuillaumeGomez:fix-item-info-pos-and-height, r=notriddle
Fix item info pos and height Fixes https://github.com/rust-lang/rust/issues/98266. Fixes https://github.com/rust-lang/rust/issues/98343. You can test it [here](https://rustdoc.crud.net/imperio/fix-item-info-pos-and-height/lib2/trait.Trait.html). Here is a screenshot of the result:  r? `@jsha`
This commit is contained in:
@@ -1111,7 +1111,14 @@ table,
|
||||
}
|
||||
|
||||
.item-info .stab {
|
||||
display: inline-block;
|
||||
width: fit-content;
|
||||
/* This min-height is needed to unify the height of the stab elements because some of them
|
||||
have emojis.
|
||||
*/
|
||||
min-height: 36px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
.stab {
|
||||
padding: 3px;
|
||||
@@ -1121,6 +1128,7 @@ table,
|
||||
}
|
||||
.stab p {
|
||||
display: inline;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.stab .emoji {
|
||||
|
||||
Reference in New Issue
Block a user