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; caption-side: bottom;
} }
// Matches default `<td>` alignment by inheriting from the `<body>`, or the // Matches default `<td>` alignment by inheriting `text-align`.
// closest parent with a set `text-align`. // 1. Fix alignment for Safari
th { th {
text-align: inherit; text-align: inherit;
text-align: -webkit-match-parent; // 1
} }