aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartijn Cuppens <[email protected]>2020-03-02 07:36:17 +0100
committerGitHub <[email protected]>2020-03-02 08:36:17 +0200
commit481540800d3c242c8152bbfed7fd60dbf59437c6 (patch)
treec9b9a0b23eea1170c4896a00a9518a817073732e
parent9bf33e4c80cbe3cf38bcedc444eb02f226462047 (diff)
downloadbootstrap-481540800d3c242c8152bbfed7fd60dbf59437c6.tar.xz
bootstrap-481540800d3c242c8152bbfed7fd60dbf59437c6.zip
Fix `th` alignment for Safari (#30323)
-rw-r--r--scss/_reboot.scss5
1 files changed, 3 insertions, 2 deletions
diff --git a/scss/_reboot.scss b/scss/_reboot.scss
index e6be84e40..c5f11d21a 100644
--- a/scss/_reboot.scss
+++ b/scss/_reboot.scss
@@ -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
}