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/admin.scss | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'app/javascript/styles/admin.scss') diff --git a/app/javascript/styles/admin.scss b/app/javascript/styles/admin.scss index 6d246ded2..3442464e7 100644 --- a/app/javascript/styles/admin.scss +++ b/app/javascript/styles/admin.scss @@ -16,7 +16,7 @@ height: 100%; padding: 0; overflow-y: auto; - + .logo { display: block; margin: 40px auto; @@ -50,7 +50,7 @@ &.selected { background: darken($color1, 2%); - border-radius: 4px 0 0 0; + border-radius: 4px 0 0; } } @@ -118,10 +118,12 @@ .simple_form { max-width: 400px; + .label_input { label.select { width: 50%; } + select { width: 50%; float: right; @@ -134,7 +136,8 @@ overflow-y: auto; -webkit-overflow-scrolling: touch; - .sidebar-wrapper, .content-wrapper { + .sidebar-wrapper, + .content-wrapper { flex: 0 0 auto; height: auto; overflow: initial; -- cgit