about summary refs log tree commit diff
path: root/app/javascript/styles/tables.scss
diff options
context:
space:
mode:
authoryhirano <yhirano@me.com>2017-05-08 03:47:31 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-05-07 20:47:31 +0200
commitd63c291f86b1608a01322f1d8c1652361ea1dc8a (patch)
treeb9d6f89410a212d8b830f956af84189d01222ad0 /app/javascript/styles/tables.scss
parent6ad19036e3b744c6ae7c19627c569da79ffdb726 (diff)
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
Diffstat (limited to 'app/javascript/styles/tables.scss')
-rw-r--r--app/javascript/styles/tables.scss6
1 files changed, 4 insertions, 2 deletions
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;
   }