Skip to content

Commit 5101078

Browse files
committed
Fix some style regressions due to normalize.css 8
1 parent 6643065 commit 5101078

File tree

1 file changed

+23
-2
lines changed

1 file changed

+23
-2
lines changed

src/librustdoc/html/static/rustdoc.css

+23-2
Original file line numberDiff line numberDiff line change
@@ -200,10 +200,31 @@ summary {
200200
outline: none;
201201
}
202202

203-
/* FIXME: Remove after normalize.css is either upgraded or removed (#86629) */
203+
/* Fix some style changes due to normalize.css 8 */
204+
205+
td,
206+
th {
207+
padding: 0;
208+
}
209+
210+
table {
211+
border-collapse: collapse;
212+
}
213+
214+
button,
215+
input,
216+
optgroup,
217+
select,
218+
textarea {
219+
color: inherit;
220+
font: inherit;
221+
margin: 0;
222+
}
223+
224+
/* end tweaks for normalize.css 8 */
225+
204226
details:not(.rustdoc-toggle) summary {
205227
margin-bottom: .6em;
206-
display: list-item;
207228
}
208229

209230
code, pre, a.test-arrow {

0 commit comments

Comments
 (0)