Skip to content

Commit

Permalink
Fix th alignment for Safari (#30323)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartijnCuppens authored Mar 2, 2020
1 parent 9bf33e4 commit 4815408
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scss/_reboot.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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
}


Expand Down

0 comments on commit 4815408

Please sign in to comment.