From 2663408a381a3d7545647fdafb92871d84963ffe Mon Sep 17 00:00:00 2001 From: Reda Lemeden Date: Tue, 7 Feb 2012 10:41:59 -0500 Subject: [PATCH] Fixed some border-related bugs in the single question view --- sass/_discussion-answers.scss | 6 ++++++ sass/_discussion-questions.scss | 2 +- sass/_question-view.scss | 11 +++++------ 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/sass/_discussion-answers.scss b/sass/_discussion-answers.scss index 12d6500c48..a86600c915 100644 --- a/sass/_discussion-answers.scss +++ b/sass/_discussion-answers.scss @@ -43,3 +43,9 @@ div.answer-block { } } } + +div.answer-own { + border-top: 1px solid #eee; + overflow:hidden; + padding-left: flex-grid(1.2); +} diff --git a/sass/_discussion-questions.scss b/sass/_discussion-questions.scss index 4a8704c477..38eebd2a39 100644 --- a/sass/_discussion-questions.scss +++ b/sass/_discussion-questions.scss @@ -31,7 +31,7 @@ div.question-controls { padding:0px 20px 5px; a { - color: darken(#F6EFD4, 50%); + color: darken(#F6EFD4, 50%); &.on span{ font-weight: bold; diff --git a/sass/_question-view.scss b/sass/_question-view.scss index a9b51f516f..286a66cd98 100644 --- a/sass/_question-view.scss +++ b/sass/_question-view.scss @@ -168,17 +168,16 @@ div.question-header { font-size: 13px; .block { - border-bottom: 1px solid #ddd; - border-top: 1px solid #fff; + border-top: 1px solid #ddd; padding: 15px 0; display: block; - &:first-child { + &:first-child { border-top: 0; } - // &:only-of-type { - // border: 0; - // } + &:last-child { + border-bottom: 1px solid #ddd; + } } form.post-comments {