Skip to content

Commit

Permalink
Rollup merge of #105666 - notriddle:notriddle/stab-baseline, r=Guilla…
Browse files Browse the repository at this point in the history
…umeGomez

rustdoc: align stability badge to baseline instead of bottom

| desc | img |
|------|-----|
| before | ![image](https://user-images.githubusercontent.com/1593513/207412598-3a6468ca-a169-4810-a689-4797688385df.png) |
| | |
| after | ![image](https://user-images.githubusercontent.com/1593513/207412720-b120269a-48a3-40e9-a9b0-6769bb05e104.png) |

Preview: http://notriddle.com/notriddle-rustdoc-demos/stab-baseline/test_dingus/index.html

Based on comment from #105509 (comment)

r? ``@joshtriplett``
  • Loading branch information
matthiaskrgr authored Oct 23, 2023
2 parents 62fae23 + c564f81 commit e86f9b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/librustdoc/html/static/css/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -1107,6 +1107,7 @@ 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 e86f9b6

Please sign in to comment.