From af410ef4e593856921534c1305d6ff6c576a3085 Mon Sep 17 00:00:00 2001 From: Sam Radhakrishnan Date: Mon, 2 Mar 2015 22:32:50 +0530 Subject: [PATCH] Added margin top to lists. Fixes issue5626 --- app/assets/stylesheets/stream_element.scss | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/stream_element.scss b/app/assets/stylesheets/stream_element.scss index 5bb6e5707..876a74721 100644 --- a/app/assets/stylesheets/stream_element.scss +++ b/app/assets/stylesheets/stream_element.scss @@ -140,7 +140,12 @@ p:last-of-type { margin: 0; } - + ul, ol { + margin-top:0.8em; + margin-bottom:0.8em; + &:first-child { margin-top: 0; } + &:nth-last-child(4){ margin-bottom: 0; } + } .expander { position: absolute; bottom: 0;