diff options
author | Marin Jankovski <marin@gitlab.com> | 2015-07-10 10:15:41 +0000 |
---|---|---|
committer | Marin Jankovski <marin@gitlab.com> | 2015-07-10 10:15:41 +0000 |
commit | e745b9e363747bd927b08248787728389cf1fb15 (patch) | |
tree | 90b5db74efbe4cf7d45fdd793c6acd1a8cee5a4c | |
parent | 3f5a4ae5e66ba23a16c7a41b27ade196994c5a4c (diff) | |
parent | 4498de4867bc87ac83898cfe80417a9d29c952ea (diff) | |
download | gitlab-ce-e745b9e363747bd927b08248787728389cf1fb15.tar.gz |
Merge branch 'rs-issue-1939' into 'master'
Minor style fixes
### Reset ul list style types inside notes
Because notes are themselves `ul`s, lists inside of notes started at the wrong depth, so this resets that.
Closes #259
---
### Style all blockquote children, not just p
Makes styling of non-paragraph text, such as lists, inside blockquotes consistent.
Closes #1939
See merge request !949
-rw-r--r-- | app/assets/stylesheets/base/mixins.scss | 2 | ||||
-rw-r--r-- | app/assets/stylesheets/pages/notes.scss | 16 |
2 files changed, 17 insertions, 1 deletions
diff --git a/app/assets/stylesheets/base/mixins.scss b/app/assets/stylesheets/base/mixins.scss index 08cbe911672..d64e79170b9 100644 --- a/app/assets/stylesheets/base/mixins.scss +++ b/app/assets/stylesheets/base/mixins.scss @@ -109,7 +109,7 @@ font-size: 1.2em; } - blockquote p { + blockquote { color: #888; font-size: 15px; line-height: 1.5; diff --git a/app/assets/stylesheets/pages/notes.scss b/app/assets/stylesheets/pages/notes.scss index 42b8ecabb38..4da65b28743 100644 --- a/app/assets/stylesheets/pages/notes.scss +++ b/app/assets/stylesheets/pages/notes.scss @@ -72,13 +72,28 @@ ul.notes { .note { display: block; position:relative; + .note-body { overflow: auto; + .note-text { overflow: auto; word-wrap: break-word; @include md-typography; + // Reset ul style types since we're nested inside a ul already + & > ul { + list-style-type: disc; + + ul { + list-style-type: circle; + + ul { + list-style-type: square; + } + } + } + // Reduce left padding of first task list ul element ul.task-list:first-child { padding-left: 10px; @@ -94,6 +109,7 @@ ul.notes { } } } + .note-header { padding-bottom: 3px; } |