summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-04-29 20:36:12 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-05-06 13:00:13 -0400
commit421f3f1551fee86cac163b06404c407b5ac34604 (patch)
tree5f70e2883d020d264e4fe96298c08126df1f250d
parent725ff58bc891bfdad60f55db6b0dacdba11b1b20 (diff)
downloadgitlab-ce-421f3f1551fee86cac163b06404c407b5ac34604.tar.gz
Change padding for task lists in notes
-rw-r--r--app/assets/stylesheets/pages/notes.scss10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/assets/stylesheets/pages/notes.scss b/app/assets/stylesheets/pages/notes.scss
index 97b19deb3ed..589a43c4264 100644
--- a/app/assets/stylesheets/pages/notes.scss
+++ b/app/assets/stylesheets/pages/notes.scss
@@ -62,6 +62,16 @@ ul.notes {
word-wrap: break-word;
@include md-typography;
+ // Reduce left padding of first ul element
+ ul.task-list:first-child {
+ padding-left: 10px;
+
+ // sub-lists should be padded normally
+ ul {
+ padding-left: 20px;
+ }
+ }
+
hr {
margin: 10px 0;
}