From 55deb0d4a277c4a0b2fd8e4ab613779789f532dc Mon Sep 17 00:00:00 2001 From: Reda Lemeden Date: Wed, 25 Jan 2012 12:32:09 -0500 Subject: [PATCH] Fixed the sidebar layout issue in the discussion page --- sass/_discussion.scss | 63 +++++++++++++++++++++---------------------- 1 file changed, 30 insertions(+), 33 deletions(-) diff --git a/sass/_discussion.scss b/sass/_discussion.scss index 73fcd8ceb8..939ddfece8 100644 --- a/sass/_discussion.scss +++ b/sass/_discussion.scss @@ -59,44 +59,41 @@ body.askbot { } } - .content-wrapper { - @extend .clearfix; - @extend .wrapper; - @include box-shadow(0 1px 0 #fff); - @include box-sizing(border-box); - background: #fff; - border: 1px solid #ccc; - border-top: 0; + .main-content { + .discussion-wrapper { + display: table; + width: 100%; - .discussion-content { - /*@extend .content;*/ - @include box-sizing(border-box); - display: table-cell; - padding: $gw-gutter; - vertical-align: top; - width: grid-width(9); - } - - aside { - @extend .sidebar; - width: grid-width(2.5); - padding: $gw-gutter; - - h2 { - font-size: 16px; + .discussion-content { + /*@extend .content;*/ + @include box-sizing(border-box); + display: table-cell; + padding: $gw-gutter; + vertical-align: top; + width: grid-width(9); } - h3 { - border-bottom: 0; - box-shadow: none; - } + aside { + @extend .sidebar; + width: grid-width(2.5); + padding: $gw-gutter; - input[type="text"] { - width: 68%; - } + h2 { + font-size: 16px; + } - #displayTagFilterControl { - margin-top: 10px; + h3 { + border-bottom: 0; + box-shadow: none; + } + + input[type="text"] { + width: 68%; + } + + #displayTagFilterControl { + margin-top: 10px; + } } } }