Commit 1cd0fbd9 authored by Takuya Noguchi's avatar Takuya Noguchi

Enable NestingDepth (level 6) on scss-lint

parent 6d7384f5
......@@ -121,7 +121,8 @@ linters:
# Avoid nesting selectors too deeply.
NestingDepth:
enabled: false
enabled: true
max_depth: 6
# Always use placeholder selectors in @extend.
PlaceholderInExtend:
......
......@@ -216,15 +216,12 @@ body {
color: $theme-gray-900;
}
&.active > a {
color: $white-light;
&:hover {
&.active > a,
&.active > a:hover {
color: $white-light;
}
}
}
}
.container-fluid {
.navbar-toggle,
......
......@@ -239,13 +239,11 @@
fill: currentColor;
}
&.header-user-dropdown-toggle {
.header-user-avatar {
&.header-user-dropdown-toggle .header-user-avatar {
border-color: $white-light;
}
}
}
}
.header-new-dropdown-toggle {
margin-right: 0;
......
......@@ -269,7 +269,7 @@ ul.notes {
display: none;
}
&.system-note-commit-list {
&.system-note-commit-list:not(.hide-shade) {
max-height: 70px;
overflow: hidden;
display: block;
......@@ -291,16 +291,6 @@ ul.notes {
bottom: 0;
background: linear-gradient(rgba($white-light, 0.1) -100px, $white-light 100%);
}
&.hide-shade {
max-height: 100%;
overflow: auto;
&::after {
display: none;
background: transparent;
}
}
}
}
}
......
---
title: Enable NestingDepth (level 6) on scss-lint
merge_request: 15073
author: Takuya Noguchi
type: other
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment