Skip to content

Commit

Permalink
Fix some style regressions due to normalize.css 8
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTitor committed Jun 29, 2021
1 parent 6643065 commit 5101078
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions src/librustdoc/html/static/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -200,10 +200,31 @@ summary {
outline: none;
}

/* FIXME: Remove after normalize.css is either upgraded or removed (#86629) */
/* Fix some style changes due to normalize.css 8 */

td,
th {
padding: 0;
}

table {
border-collapse: collapse;
}

button,
input,
optgroup,
select,
textarea {
color: inherit;
font: inherit;
margin: 0;
}

/* end tweaks for normalize.css 8 */

details:not(.rustdoc-toggle) summary {
margin-bottom: .6em;
display: list-item;
}

code, pre, a.test-arrow {
Expand Down

0 comments on commit 5101078

Please sign in to comment.