Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
95eb0ced
Commit
95eb0ced
authored
Apr 16, 2018
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix scss_lint
parent
a290c92b
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
9 deletions
+13
-9
.scss-lint.yml
.scss-lint.yml
+2
-1
app/assets/stylesheets/bootstrap_migration.scss
app/assets/stylesheets/bootstrap_migration.scss
+4
-1
app/assets/stylesheets/pages/editor.scss
app/assets/stylesheets/pages/editor.scss
+1
-1
app/assets/stylesheets/pages/note_form.scss
app/assets/stylesheets/pages/note_form.scss
+2
-2
app/assets/stylesheets/pages/notes.scss
app/assets/stylesheets/pages/notes.scss
+4
-4
No files found.
.scss-lint.yml
View file @
95eb0ced
...
...
@@ -46,8 +46,9 @@ linters:
# - properties
# - @include declarations with inner @content
# - nested rule sets.
# Disabled to minimize Bootstrap migration footprint
DeclarationOrder
:
enabled
:
tru
e
enabled
:
fals
e
# `scss-lint:disable` control comments should be preceded by a comment
# explaining why these linters are being disabled for this file.
...
...
app/assets/stylesheets/bootstrap_migration.scss
View file @
95eb0ced
...
...
@@ -24,7 +24,10 @@ html {
font-size
:
14px
;
}
button
,
html
[
type
=
"button"
],
[
type
=
"reset"
],
[
type
=
"submit"
]
{
button
,
html
[
type
=
"button"
],
[
type
=
"reset"
],
[
type
=
"submit"
]
{
// Override bootstrap reboot
-webkit-appearance
:
inherit
;
}
...
...
app/assets/stylesheets/pages/editor.scss
View file @
95eb0ced
...
...
@@ -111,7 +111,7 @@
}
@include
media-breakpoint-down
(
xs
){
@include
media-breakpoint-down
(
xs
)
{
.file-editor
{
.file-title
{
.float-right
{
...
...
app/assets/stylesheets/pages/note_form.scss
View file @
95eb0ced
...
...
@@ -185,12 +185,12 @@
}
.notes.notes-form
>
li
.timeline-entry
{
@include
notes-media
(
'max'
,
map-get
(
$grid-breakpoints
,
md
)
-
1
)
{
@include
notes-media
(
'max'
,
map-get
(
$grid-breakpoints
,
md
)
-
1
)
{
padding
:
0
;
}
.timeline-content
{
@include
notes-media
(
'max'
,
map-get
(
$grid-breakpoints
,
md
)
-
1
)
{
@include
notes-media
(
'max'
,
map-get
(
$grid-breakpoints
,
md
)
-
1
)
{
margin
:
0
;
}
}
...
...
app/assets/stylesheets/pages/notes.scss
View file @
95eb0ced
...
...
@@ -408,7 +408,7 @@ ul.notes {
display
:
flex
;
justify-content
:
space-between
;
@include
notes-media
(
'max'
,
map-get
(
$grid-breakpoints
,
sm
)
-
1
)
{
@include
notes-media
(
'max'
,
map-get
(
$grid-breakpoints
,
sm
)
-
1
)
{
flex-flow
:
row
wrap
;
}
}
...
...
@@ -427,7 +427,7 @@ ul.notes {
}
.note-header-author-name
{
@include
notes-media
(
'max'
,
map-get
(
$grid-breakpoints
,
sm
)
-
1
)
{
@include
notes-media
(
'max'
,
map-get
(
$grid-breakpoints
,
sm
)
-
1
)
{
display
:
none
;
}
}
...
...
@@ -473,7 +473,7 @@ ul.notes {
margin-left
:
10px
;
color
:
$gray-darkest
;
@include
notes-media
(
'max'
,
map-get
(
$grid-breakpoints
,
lg
)
-
1
)
{
@include
notes-media
(
'max'
,
map-get
(
$grid-breakpoints
,
lg
)
-
1
)
{
float
:
none
;
margin-left
:
0
;
}
...
...
@@ -491,7 +491,7 @@ ul.notes {
margin-left
:
10px
;
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
;
margin-left
:
0
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment