From 481540800d3c242c8152bbfed7fd60dbf59437c6 Mon Sep 17 00:00:00 2001 From: Martijn Cuppens Date: Mon, 2 Mar 2020 07:36:17 +0100 Subject: [PATCH] Fix `th` alignment for Safari (#30323) --- scss/_reboot.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scss/_reboot.scss b/scss/_reboot.scss index e6be84e40f1a..c5f11d21a759 100644 --- a/scss/_reboot.scss +++ b/scss/_reboot.scss @@ -344,11 +344,12 @@ caption { caption-side: bottom; } -// Matches default `` alignment by inheriting from the ``, or the -// closest parent with a set `text-align`. +// Matches default `` alignment by inheriting `text-align`. +// 1. Fix alignment for Safari th { text-align: inherit; + text-align: -webkit-match-parent; // 1 }