Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
95eb0ced
G
gitlab-foss
项目概览
李少辉-开发者
/
gitlab-foss
通知
15
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gitlab-foss
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
95eb0ced
编写于
4月 16, 2018
作者:
C
Clement Ho
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix scss_lint
上级
a290c92b
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
13 addition
and
9 deletion
+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
未找到文件。
.scss-lint.yml
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
;
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录