]> git.ipfire.org Git - thirdparty/foundation/foundation-emails.git/commitdiff
Normalize the th element 659/head
authorStadly <magnar@myrtveit.com>
Wed, 7 Dec 2016 12:18:10 +0000 (13:18 +0100)
committerStadly <magnar@myrtveit.com>
Mon, 17 Dec 2018 10:29:33 +0000 (11:29 +0100)
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

index 8712eee2b6cc8076b1156f203e47bee6ad68350b..0d164b72adbea6b85329a0e076b64a0979e6b37e 100755 (executable)
@@ -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;