From d63c291f86b1608a01322f1d8c1652361ea1dc8a Mon Sep 17 00:00:00 2001 From: yhirano Date: Mon, 8 May 2017 03:47:31 +0900 Subject: Enable CodeClimate SCSS Lint checks (#2886) * add scss_lint to Gemfile * add .scss-lint.yml * fix warnings of scss-lint * chmod -x styles/variables.scss * Enable CodeClimate SCSS Lint checks --- app/javascript/styles/tables.scss | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'app/javascript/styles/tables.scss') diff --git a/app/javascript/styles/tables.scss b/app/javascript/styles/tables.scss index 0568a0760..ed0ef4468 100644 --- a/app/javascript/styles/tables.scss +++ b/app/javascript/styles/tables.scss @@ -5,7 +5,8 @@ border-collapse: collapse; margin-bottom: 20px; - th, td { + th, + td { padding: 8px; line-height: 18px; vertical-align: top; @@ -24,7 +25,8 @@ font-weight: 500; } - & > tbody > tr:nth-child(odd) > td, & > tbody > tr:nth-child(odd) > th { + & > tbody > tr:nth-child(odd) > td, + & > tbody > tr:nth-child(odd) > th { background: $color1; } -- cgit