diff --git a/src/typebase.less b/src/typebase.less index 4247cdd..3c435ca 100644 --- a/src/typebase.less +++ b/src/typebase.less @@ -78,6 +78,7 @@ table { td, th { padding: 0; line-height: @baseLineHeight * @baseFontSize - 0px; + vertical-align: top; } } @@ -92,7 +93,7 @@ code { font-size: @scale * 1rem; } -/* Hug a the block above you */ +/* Hug the block above you */ .hug { margin-top: 0; } diff --git a/src/typebase.rework.css b/src/typebase.rework.css index 493d629..2c8da4e 100644 --- a/src/typebase.rework.css +++ b/src/typebase.rework.css @@ -108,6 +108,7 @@ td, th { padding: 0; line-height: calc(var(--base-line-height) * var(--base-font-size) - 0px); + vertical-align: top; } /* Code blocks */ @@ -120,7 +121,7 @@ code { .lead { font-size: calc(var(--scale) * 1rem); } -/* Hug a the block above you */ +/* Hug the block above you */ .hug { margin-top: 0; diff --git a/src/typebase.sass b/src/typebase.sass index 1874a9b..9746524 100644 --- a/src/typebase.sass +++ b/src/typebase.sass @@ -78,6 +78,7 @@ table td, th padding: 0 line-height: $baseLineHeight * $baseFontSize - 0px + vertical-align: top /* Code blocks */ code @@ -88,7 +89,7 @@ code .lead font-size: $scale * 1rem -/* Hug a the block above you */ +/* Hug the block above you */ .hug margin-top: 0 diff --git a/src/typebase.scss b/src/typebase.scss index 701dfef..9ea36cb 100644 --- a/src/typebase.scss +++ b/src/typebase.scss @@ -95,6 +95,7 @@ td, th { padding: 0; line-height: $baseLineHeight * $baseFontSize - 0px; + vertical-align: top; } /* Code blocks */ @@ -107,7 +108,7 @@ code { .lead { font-size: $scale * 1rem; } -/* Hug a the block above you */ +/* Hug the block above you */ .hug { margin-top: 0; diff --git a/src/typebase.stylus b/src/typebase.stylus index e6a6860..41fdf3e 100644 --- a/src/typebase.stylus +++ b/src/typebase.stylus @@ -93,6 +93,7 @@ td, th padding 0 line-height baseLineHeight * baseFontSize - 0px + vertical-align top /* Code blocks */ @@ -105,7 +106,7 @@ code .lead font-size scale * 1rem -/* Hug a the block above you */ +/* Hug the block above you */ .hug margin-top 0 \ No newline at end of file diff --git a/typebase.css b/typebase.css index 7c2b04b..77ae3cf 100644 --- a/typebase.css +++ b/typebase.css @@ -78,6 +78,7 @@ table td, table th { padding: 0; line-height: 33px; + vertical-align: top; } /* Code blocks */ code {