]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix `th` alignment for Safari (#30323)
authorMartijn Cuppens <martijn.cuppens@gmail.com>
Mon, 2 Mar 2020 06:36:17 +0000 (07:36 +0100)
committerGitHub <noreply@github.com>
Mon, 2 Mar 2020 06:36:17 +0000 (08:36 +0200)
scss/_reboot.scss

index e6be84e40f1a20becfd8b62d74254e3c659d1d22..c5f11d21a7594be4a383f55b1f31ee5451f6afc3 100644 (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
 }