1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-31 00:59:51 +02:00

feat: adds th null var (#30781)

Inherit `font-weight: bold` that comes from user agent stylesheets.
This commit is contained in:
Catalin Zalog
2020-06-17 16:55:28 +03:00
committed by GitHub
parent 088c727a31
commit 9f9e4d04a1
2 changed files with 8 additions and 4 deletions

View File

@@ -369,12 +369,14 @@ caption {
text-align: left;
}
// 1. Matches default `<td>` alignment by inheriting `text-align`.
// 2. Fix alignment for Safari
// 1. Removes font-weight bold by inheriting
// 2. Matches default `<td>` alignment by inheriting `text-align`.
// 3. Fix alignment for Safari
th {
text-align: inherit; // 1
text-align: -webkit-match-parent; // 2
font-weight: $table-th-font-weight; // 1
text-align: inherit; // 2
text-align: -webkit-match-parent; // 3
}
thead,