From: Stadly Date: Wed, 7 Dec 2016 12:18:10 +0000 (+0100) Subject: Normalize the th element X-Git-Tag: v2.3.0~7^2~12^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F659%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-emails.git 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 --- 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;