From e792f9b1b510ec2cc884c7e99bf60fae7165011b Mon Sep 17 00:00:00 2001 From: Anika Henke Date: Fri, 2 Jun 2017 15:34:16 +0100 Subject: [PATCH 1/2] Remove right padding from last table cells --- assets/sass/elements/_tables.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/assets/sass/elements/_tables.scss b/assets/sass/elements/_tables.scss index 87e9143ae..45bc68e30 100644 --- a/assets/sass/elements/_tables.scss +++ b/assets/sass/elements/_tables.scss @@ -20,6 +20,11 @@ table { font-weight: 700; } + td:last-child, + th:last-child { + padding-right: 0; + } + // Right align table header cells and table cells with a numeric class .numeric { text-align: right; From e05006fbde175997d587157718bded1ff07c8bbf Mon Sep 17 00:00:00 2001 From: Anika Henke Date: Fri, 2 Jun 2017 15:52:09 +0100 Subject: [PATCH 2/2] Remove unnecessary color declaration The `color` gets inherited from the `body` and doesn't need to be set. Furthermore, only setting the colour without also setting the background colour could cause issues for people needing to change colour settings. --- assets/sass/elements/_tables.scss | 1 - 1 file changed, 1 deletion(-) diff --git a/assets/sass/elements/_tables.scss b/assets/sass/elements/_tables.scss index 45bc68e30..c7cd962ca 100644 --- a/assets/sass/elements/_tables.scss +++ b/assets/sass/elements/_tables.scss @@ -12,7 +12,6 @@ table { padding: em(12, 19) em(20, 19) em(9, 19) 0; text-align: left; - color: $black; border-bottom: 1px solid $border-colour; }