Skip to content

Commit e86f9b6

Browse files
authored
Rollup merge of rust-lang#105666 - notriddle:notriddle/stab-baseline, r=GuillaumeGomez
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 rust-lang#105509 (comment) r? ``@joshtriplett``
2 parents 62fae23 + c564f81 commit e86f9b6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustdoc/html/static/css/rustdoc.css

+1
Original file line numberDiff line numberDiff line change
@@ -1107,6 +1107,7 @@ so that we can apply CSS-filters to change the arrow color in themes */
11071107
white-space: pre-wrap;
11081108
border-radius: 3px;
11091109
display: inline;
1110+
vertical-align: baseline;
11101111
}
11111112

11121113
.stab.portability > code {

0 commit comments

Comments
 (0)