Commit 5cd079e4 authored by Phil Hughes's avatar Phil Hughes

Merge branch '59930-todos-scss' into 'master'

Cleans up todos.scss style-lint warnings

Closes #59930

See merge request gitlab-org/gitlab-ce!28076
parents 06b06736 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;
}
} }
} }
} }
......
...@@ -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)
......
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