From 912094082438ac049caa965ff86e42be0ca22b31 Mon Sep 17 00:00:00 2001 From: Stadly Date: Wed, 7 Dec 2016 13:18:10 +0100 Subject: [PATCH] Normalize the th element Normalize the `th` element. I have specifically observed that `th` elements sometimes show content vertically aligned in the middle. `th` elements are used for all columns, so they should be normalized to be vertically aligned to the top --- scss/components/_normalize.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scss/components/_normalize.scss b/scss/components/_normalize.scss index 8712eee2..0d164b72 100755 --- a/scss/components/_normalize.scss +++ b/scss/components/_normalize.scss @@ -31,6 +31,7 @@ body { span, font, td, + th, div { line-height: 100%; } @@ -68,7 +69,7 @@ table { border-collapse: collapse; } -td { +td, th { word-wrap: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; @@ -76,7 +77,7 @@ td { border-collapse: collapse !important; } -table, tr, td { +table, tr, td, th { padding-top: 0; padding-right: 0; padding-bottom: 0; -- 2.47.2