From 28bd39f97431f17a55d89ff3031cd86ffd6c5bf4 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Sat, 1 Sep 2018 11:37:58 +0200 Subject: [PATCH] Fixed stylelint not properly inspecting files in src root --- package.json | 2 +- src/index.scss | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 55c84580..a33bb691 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "lint": "yarn lint:js && yarn lint:css", "lint:js": "eslint src test scripts config", "lint:js:fix": "yarn lint:js --fix", - "lint:css": "stylelint src/**/*.scss", + "lint:css": "stylelint src/*.scss src/**/*.scss", "lint:css:fix": "yarn lint:css --fix", "start": "node scripts/start.js", "build": "node scripts/build.js", diff --git a/src/index.scss b/src/index.scss index dfeabf0a..e12c6afa 100644 --- a/src/index.scss +++ b/src/index.scss @@ -3,7 +3,7 @@ html, body, #root { - height: 100% + height: 100%; } * { @@ -21,6 +21,7 @@ body, .dropdown-item { cursor: pointer; } + .dropdown-item.active, .dropdown-item:active { @extend .bg-main; @@ -46,7 +47,6 @@ body, .navbar-brand { @media (max-width: $smMax) { - margin-right: auto !important; // This is needed to override a third party style - margin: 0 auto; + margin: 0 auto !important; } }