1
0
Fork 0
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:
Martijn Cuppens 2020-03-02 07:36:17 +01:00 committed by GitHub
parent 9bf33e4c80
commit 481540800d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
}