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
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 @@
}
.todo-body
{
.todo-note
{
word-wrap
:
break-word
;
.md
{
color
:
$gl-grayish-blue
;
font-size
:
$gl-font-size
;
.badge.badge-pill
{
color
:
$gl-text-color
;
}
.badge.badge-pill
,
p
{
color
:
$gl-text-color
;
}
p
{
color
:
$gl-text-color
;
}
}
.md
{
color
:
$gl-grayish-blue
;
font-size
:
$gl-font-size
;
}
code
{
white-space
:
pre-wrap
;
}
code
{
white-space
:
pre-wrap
;
}
pre
{
border
:
0
;
background
:
$gray-light
;
border-radius
:
0
;
color
:
$gl-gray-500
;
margin
:
0
20px
;
overflow
:
hidden
;
}
pre
{
border
:
0
;
background
:
$gray-light
;
border-radius
:
0
;
color
:
$gl-gray-500
;
margin
:
0
20px
;
overflow
:
hidden
;
}
.note-image-attach
{
margin-top
:
4px
;
margin-left
:
0
;
max-width
:
200px
;
float
:
none
;
}
.note-image-attach
{
margin-top
:
4px
;
margin-left
:
0
;
max-width
:
200px
;
float
:
none
;
}
p
:last-child
{
margin-bottom
:
0
;
}
p
:last-child
{
margin-bottom
:
0
;
}
}
}
...
...
app/views/dashboard/todos/_todo.html.haml
View file @
7c57c953
...
...
@@ -34,7 +34,7 @@
=
todo_due_date
(
todo
)
.todo-body
.todo-note
.todo-note
.break-word
.md
=
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