diff --git a/themes/bootstrap/scss/_common.scss b/themes/bootstrap/scss/_common.scss index f5746dc141..1c7d053000 100644 --- a/themes/bootstrap/scss/_common.scss +++ b/themes/bootstrap/scss/_common.scss @@ -568,6 +568,11 @@ table tbody:first-of-type tr:nth-child(even) th, background: #dfdfdf; } +// only one item +table tbody:first-of-type tr:only-child { + background: none; +} + table tr { text-align: $left; diff --git a/themes/metro/scss/_common.scss b/themes/metro/scss/_common.scss index eece20ef5a..efb1cc450b 100644 --- a/themes/metro/scss/_common.scss +++ b/themes/metro/scss/_common.scss @@ -622,6 +622,11 @@ table tr { border-bottom: none; } + // only one item + &:only-child { + background: none; + } + th { text-align: $left; border-bottom: 1px solid #eee; diff --git a/themes/pmahomme/scss/_common.scss b/themes/pmahomme/scss/_common.scss index 1f2e5101c4..14bfc1d709 100644 --- a/themes/pmahomme/scss/_common.scss +++ b/themes/pmahomme/scss/_common.scss @@ -573,6 +573,11 @@ table tbody:first-of-type tr:nth-child(even) th, background: #dfdfdf; } +// only one item +table tbody:first-of-type tr:only-child { + background: none; +} + table tr { text-align: $left;