From 86e88af6c34e70f32bcd658dbe450a05c72bebb0 Mon Sep 17 00:00:00 2001 From: lubber-de Date: Fri, 16 Nov 2018 00:39:29 +0100 Subject: [PATCH 1/2] fix(table): thead and tbody missed alignment inheritance --- src/definitions/collections/table.less | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/definitions/collections/table.less b/src/definitions/collections/table.less index 5b129f08d8..9601175051 100755 --- a/src/definitions/collections/table.less +++ b/src/definitions/collections/table.less @@ -42,6 +42,11 @@ .ui.table:last-child { margin-bottom: 0em; } +.ui.table thead, +.ui.table tbody { + text-align: inherit; + vertical-align: inherit; +} /******************************* Parts From 4dcf0703994378c23c9fcafc0e4099f92b5abf6e Mon Sep 17 00:00:00 2001 From: lubber-de Date: Fri, 16 Nov 2018 00:57:22 +0100 Subject: [PATCH 2/2] fix(table): restore default vertical alignment --- src/definitions/collections/table.less | 1 + src/themes/default/collections/table.variables | 1 + 2 files changed, 2 insertions(+) diff --git a/src/definitions/collections/table.less b/src/definitions/collections/table.less index 9601175051..c3680dcbc9 100755 --- a/src/definitions/collections/table.less +++ b/src/definitions/collections/table.less @@ -31,6 +31,7 @@ box-shadow: @boxShadow; border-radius: @borderRadius; text-align: @textAlign; + vertical-align: @verticalAlign; color: @color; border-collapse: @borderCollapse; border-spacing: @borderSpacing; diff --git a/src/themes/default/collections/table.variables b/src/themes/default/collections/table.variables index 4abfa87255..d2db7df98f 100644 --- a/src/themes/default/collections/table.variables +++ b/src/themes/default/collections/table.variables @@ -22,6 +22,7 @@ @border: @borderWidth solid @borderColor; @boxShadow: none; @textAlign: left; +@verticalAlign: middle; /*-------------- Parts