Skip to content

Commit

Permalink
Center table cell content vertically
Browse files Browse the repository at this point in the history
Adding .is-vcentered as an option for td and th elements that are part of a .table.
  • Loading branch information
dangowans authored and jgthms committed May 17, 2020
1 parent 086bd1c commit c3531e4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sass/elements/table.sass
Expand Up @@ -51,6 +51,8 @@ $table-striped-row-even-hover-background-color: $scheme-main-ter !default
a,
strong
color: currentColor
&.is-vcentered
vertical-align: middle
th
color: $table-cell-heading-color
&:not([align])
Expand Down

0 comments on commit c3531e4

Please sign in to comment.