rustdoc: Fix invalid HTML in stability notices

`em` tags cannot contain `p` tags so just use a `div` instead.
This commit is contained in:
Oliver Middleton
2016-12-12 17:41:39 +00:00
parent 368e092c26
commit e395fd12dd
3 changed files with 16 additions and 15 deletions

View File

@@ -523,20 +523,20 @@ body.blur > :not(#help) {
padding: 20px;
}
em.stab {
display: inline-block;
.stab {
display: table;
border-width: 1px;
border-style: solid;
padding: 3px;
margin-bottom: 5px;
font-size: 90%;
font-style: normal;
}
em.stab p {
.stab p {
display: inline;
}
.module-item .stab {
display: inline;
border-width: 0;
padding: 0;
margin: 0;