From c3531e4fccc22ab3fc05fa449d368535aa5f9dd4 Mon Sep 17 00:00:00 2001 From: Dan Gowans Date: Fri, 24 Apr 2020 13:50:39 -0400 Subject: [PATCH] Center table cell content vertically Adding .is-vcentered as an option for td and th elements that are part of a .table. --- sass/elements/table.sass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sass/elements/table.sass b/sass/elements/table.sass index 2e6036ad3..85380add2 100644 --- a/sass/elements/table.sass +++ b/sass/elements/table.sass @@ -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])