mirror of
https://github.com/rust-lang/mdBook
synced 2024-12-13 22:32:35 +00:00
Fix #823: Apply default padding to table headers
This PR fixes #823 by applying the default padding for table cells (`padding: 3px 20px;`) to header cells.
This commit is contained in:
parent
a8d6337ac6
commit
e880fb6339
1 changed files with 3 additions and 0 deletions
|
@ -92,6 +92,9 @@ table thead td {
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
table thead th {
|
||||||
|
padding: 3px 20px;
|
||||||
|
}
|
||||||
table thead tr {
|
table thead tr {
|
||||||
border: 1px var(--table-header-bg) solid;
|
border: 1px var(--table-header-bg) solid;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue