Commit 1a8addbe authored by Luke Bennett's avatar Luke Bennett

Merge branch 'stylelint-breaking-master' into 'master'

Adhere to stylelint specs

See merge request gitlab-org/gitlab-ce!25620
parents 9d81ee3a f4777efa
...@@ -4,7 +4,7 @@ $note-form-margin-left: 72px; ...@@ -4,7 +4,7 @@ $note-form-margin-left: 72px;
@mixin vertical-line($left) { @mixin vertical-line($left) {
&::before { &::before {
content: ""; content: '';
border-left: 2px solid $gray-100; border-left: 2px solid $gray-100;
position: absolute; position: absolute;
top: 0; top: 0;
...@@ -53,12 +53,12 @@ $note-form-margin-left: 72px; ...@@ -53,12 +53,12 @@ $note-form-margin-left: 72px;
&.note-form { &.note-form {
margin-left: 0; margin-left: 0;
@include notes-media("min", map-get($grid-breakpoints, md)) { @include notes-media('min', map-get($grid-breakpoints, md)) {
margin-left: $note-form-margin-left; margin-left: $note-form-margin-left;
} }
.timeline-icon { .timeline-icon {
@include notes-media("min", map-get($grid-breakpoints, sm)) { @include notes-media('min', map-get($grid-breakpoints, sm)) {
margin-left: -$note-icon-gutter-width; margin-left: -$note-icon-gutter-width;
} }
} }
...@@ -242,7 +242,7 @@ $note-form-margin-left: 72px; ...@@ -242,7 +242,7 @@ $note-form-margin-left: 72px;
} }
.note-header { .note-header {
@include notes-media("max", map-get($grid-breakpoints, xs)) { @include notes-media('max', map-get($grid-breakpoints, xs)) {
.inline { .inline {
display: block; display: block;
} }
...@@ -304,7 +304,7 @@ $note-form-margin-left: 72px; ...@@ -304,7 +304,7 @@ $note-form-margin-left: 72px;
} }
.timeline-content { .timeline-content {
@include notes-media("min", map-get($grid-breakpoints, sm)) { @include notes-media('min', map-get($grid-breakpoints, sm)) {
margin-left: 30px; margin-left: 30px;
} }
} }
...@@ -348,7 +348,7 @@ $note-form-margin-left: 72px; ...@@ -348,7 +348,7 @@ $note-form-margin-left: 72px;
} }
&::after { &::after {
content: ""; content: '';
height: 70px; height: 70px;
position: absolute; position: absolute;
left: $gl-padding-24; left: $gl-padding-24;
...@@ -590,7 +590,7 @@ $note-form-margin-left: 72px; ...@@ -590,7 +590,7 @@ $note-form-margin-left: 72px;
.note-headline-light { .note-headline-light {
display: inline; display: inline;
@include notes-media("max", map-get($grid-breakpoints, xs)) { @include notes-media('max', map-get($grid-breakpoints, xs)) {
display: block; display: block;
} }
} }
...@@ -656,7 +656,7 @@ $note-form-margin-left: 72px; ...@@ -656,7 +656,7 @@ $note-form-margin-left: 72px;
margin-left: 10px; margin-left: 10px;
color: $gray-darkest; color: $gray-darkest;
@include notes-media("max", map-get($grid-breakpoints, sm) - 1) { @include notes-media('max', map-get($grid-breakpoints, sm) - 1) {
float: none; float: none;
margin-left: 0; margin-left: 0;
} }
...@@ -775,7 +775,7 @@ $note-form-margin-left: 72px; ...@@ -775,7 +775,7 @@ $note-form-margin-left: 72px;
} }
.line-resolve-all-container { .line-resolve-all-container {
@include notes-media("min", map-get($grid-breakpoints, sm)) { @include notes-media('min', map-get($grid-breakpoints, sm)) {
margin-right: 0; margin-right: 0;
} }
......
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