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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
7c57c953
Commit
7c57c953
authored
May 03, 2019
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleans up todos.scss stylelint warnings
parent
9f8123d9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
35 deletions
+28
-35
app/assets/stylesheets/pages/todos.scss
app/assets/stylesheets/pages/todos.scss
+27
-34
app/views/dashboard/todos/_todo.html.haml
app/views/dashboard/todos/_todo.html.haml
+1
-1
No files found.
app/assets/stylesheets/pages/todos.scss
View file @
7c57c953
...
@@ -110,45 +110,38 @@
...
@@ -110,45 +110,38 @@
}
}
.todo-body
{
.todo-body
{
.todo-note
{
.badge.badge-pill
,
word-wrap
:
break-word
;
p
{
color
:
$gl-text-color
;
.md
{
}
color
:
$gl-grayish-blue
;
font-size
:
$gl-font-size
;
.badge.badge-pill
{
color
:
$gl-text-color
;
}
p
{
.md
{
color
:
$gl-text-color
;
color
:
$gl-grayish-blue
;
}
font-size
:
$gl-font-size
;
}
}
code
{
code
{
white-space
:
pre-wrap
;
white-space
:
pre-wrap
;
}
}
pre
{
pre
{
border
:
0
;
border
:
0
;
background
:
$gray-light
;
background
:
$gray-light
;
border-radius
:
0
;
border-radius
:
0
;
color
:
$gl-gray-500
;
color
:
$gl-gray-500
;
margin
:
0
20px
;
margin
:
0
20px
;
overflow
:
hidden
;
overflow
:
hidden
;
}
}
.note-image-attach
{
.note-image-attach
{
margin-top
:
4px
;
margin-top
:
4px
;
margin-left
:
0
;
margin-left
:
0
;
max-width
:
200px
;
max-width
:
200px
;
float
:
none
;
float
:
none
;
}
}
p
:last-child
{
p
:last-child
{
margin-bottom
:
0
;
margin-bottom
:
0
;
}
}
}
}
}
}
}
...
...
app/views/dashboard/todos/_todo.html.haml
View file @
7c57c953
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
=
todo_due_date
(
todo
)
=
todo_due_date
(
todo
)
.todo-body
.todo-body
.todo-note
.todo-note
.break-word
.md
.md
=
first_line_in_markdown
(
todo
,
:body
,
150
,
project:
todo
.
project
)
=
first_line_in_markdown
(
todo
,
:body
,
150
,
project:
todo
.
project
)
...
...
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