From af9072d9aea59119395d6a9514fec07408ab4c58 Mon Sep 17 00:00:00 2001 From: albert Date: Tue, 13 Sep 2011 19:43:47 -0400 Subject: [PATCH] style fixes for lists in comments --- app/assets/stylesheets/application.css.scss | 26 +++++++++---------- .../comments/partials/show/_comment.html.erb | 2 +- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/app/assets/stylesheets/application.css.scss b/app/assets/stylesheets/application.css.scss index 39be42920..a05bfceca 100644 --- a/app/assets/stylesheets/application.css.scss +++ b/app/assets/stylesheets/application.css.scss @@ -153,6 +153,19 @@ div.prose { h3 { padding: $h3_padding; } + + ul { + margin-left: 1em; + margin-bottom: 1em; + + ul { + margin-bottom: 0; + } + } + + li { + list-style-type: disc; + } } fieldset { @@ -585,19 +598,6 @@ div.comments-for-post { margin-left: 2em; width: 30em; float: left; - - ul { - margin-left: 1em; - margin-bottom: 1em; - - ul { - margin-bottom: 0; - } - } - - li { - list-style-type: disc; - } } } diff --git a/app/views/comments/partials/show/_comment.html.erb b/app/views/comments/partials/show/_comment.html.erb index 91454a0a5..4dde9bf55 100644 --- a/app/views/comments/partials/show/_comment.html.erb +++ b/app/views/comments/partials/show/_comment.html.erb @@ -6,7 +6,7 @@