diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-05-18 15:44:45 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-05-20 12:08:33 -0400 |
commit | 8ee382087d06c50d2f8c7f60ce79294af0b89201 (patch) | |
tree | 065ac0d87837f878eeeebed2045a5bf5010c991e /app/assets | |
parent | 76a758234ac29ba2c859cb50fec6e6374e4a8742 (diff) | |
download | gitlab-ce-8ee382087d06c50d2f8c7f60ce79294af0b89201.tar.gz |
Subclass TaskList::Filter to fix a bugrs-issue-1645
Instead of using a fork, we subclass the filter and only apply the
`task-list` class to list items that actually are task lists.
Closes #1645
See https://github.com/github/task_list/pull/60
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/stylesheets/pages/notes.scss | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/stylesheets/pages/notes.scss b/app/assets/stylesheets/pages/notes.scss index e943be67dbf..42b8ecabb38 100644 --- a/app/assets/stylesheets/pages/notes.scss +++ b/app/assets/stylesheets/pages/notes.scss @@ -79,11 +79,11 @@ ul.notes { word-wrap: break-word; @include md-typography; - // Reduce left padding of first ul element + // Reduce left padding of first task list ul element ul.task-list:first-child { padding-left: 10px; - // sub-lists should be padded normally + // sub-tasks should be padded normally ul { padding-left: 20px; } |