From d74f2dcc62b4f5c7f02ef7512457aeac73af2f3b Mon Sep 17 00:00:00 2001 From: Tobias Buschor Date: Mon, 19 Jul 2021 07:10:38 +0200 Subject: [PATCH] `:not(thead) td` does not work as expected `table :not(thead) td` also selects tds in thead https://jsfiddle.net/zh8dx97b/4/ Not that specificity will not be incresed with this fix as * has zero specificity: `:not(thead) > * > td` Maybe `table {` could be dropped completely, since 'thead' and `td` only exist in table? --- scss/themes/default/_styles.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scss/themes/default/_styles.scss b/scss/themes/default/_styles.scss index 4b9fc629..fb89139a 100644 --- a/scss/themes/default/_styles.scss +++ b/scss/themes/default/_styles.scss @@ -196,7 +196,7 @@ table { } } - :not(thead) td { + :not(thead) > * > td { --font-size: 0.875em; } }