File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -278,10 +278,14 @@ caption {
278278 caption-side : bottom ;
279279}
280280
281+ // 1. Removes font-weight bold by inheriting
282+ // 2. Matches default `<td>` alignment by inheriting `text-align`.
283+ // 3. Fix alignment for Safari
284+
281285th {
282- // Matches default `<td>` alignment by inheriting from the `<body>`, or the
283- // closest parent with a set ` text-align`.
284- text-align : inherit ;
286+ font-weight : $table-th-font-weight ; // 1
287+ text-align : inherit ; // 2
288+ text-align : -webkit-match-parent ; // 3
285289}
286290
287291
Original file line number Diff line number Diff line change @@ -363,6 +363,7 @@ $table-border-color: $border-color !default;
363363
364364$table-head-bg : $gray-200 !default ;
365365$table-head-color : $gray-700 !default ;
366+ $table-th-font-weight : null !default ;
366367
367368$table-dark-color : $white !default ;
368369$table-dark-bg : $gray-800 !default ;
You can’t perform that action at this time.
0 commit comments