Fix th and td selectors that override the attribute 'align'

This commit is contained in:
abc 2019-03-23 00:58:41 +01:00 committed by Jeremy Thomas
parent 8ba8b23133
commit 7eb08242c2
4 changed files with 8 additions and 4 deletions

View File

@ -126,7 +126,8 @@ pre
table table
td, td,
th th
text-align: left
vertical-align: top vertical-align: top
&:not([align])
text-align: left
th th
color: $text-strong color: $text-strong

View File

@ -81,4 +81,5 @@ table
td, td,
th th
padding: 0 padding: 0
text-align: left &:not([align])
text-align: left

View File

@ -125,7 +125,8 @@ $content-table-foot-cell-color: $text-strong !default
vertical-align: top vertical-align: top
th th
color: $content-table-cell-heading-color color: $content-table-cell-heading-color
text-align: left &:not([align])
text-align: left
thead thead
td, td,
th th

View File

@ -53,7 +53,8 @@ $table-striped-row-even-hover-background-color: $white-ter !default
color: currentColor color: currentColor
th th
color: $table-cell-heading-color color: $table-cell-heading-color
text-align: left &:not([align])
text-align: left
tr tr
&.is-selected &.is-selected
background-color: $table-row-active-background-color background-color: $table-row-active-background-color