mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Fix th
alignment for Safari (#30323)
This commit is contained in:
parent
9bf33e4c80
commit
481540800d
1 changed files with 3 additions and 2 deletions
|
@ -344,11 +344,12 @@ caption {
|
|||
caption-side: bottom;
|
||||
}
|
||||
|
||||
// Matches default `<td>` alignment by inheriting from the `<body>`, or the
|
||||
// closest parent with a set `text-align`.
|
||||
// Matches default `<td>` alignment by inheriting `text-align`.
|
||||
// 1. Fix alignment for Safari
|
||||
|
||||
th {
|
||||
text-align: inherit;
|
||||
text-align: -webkit-match-parent; // 1
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue