Center table cell content vertically

Adding .is-vcentered as an option for td and th elements that are part of a .table.
This commit is contained in:
Dan Gowans 2020-04-24 13:50:39 -04:00 committed by Jeremy Thomas
parent 086bd1c66d
commit c3531e4fcc

View File

@ -51,6 +51,8 @@ $table-striped-row-even-hover-background-color: $scheme-main-ter !default
a, a,
strong strong
color: currentColor color: currentColor
&.is-vcentered
vertical-align: middle
th th
color: $table-cell-heading-color color: $table-cell-heading-color
&:not([align]) &:not([align])