Commit db60aceb by Tom Giannattasio

simpler sidebar width setting

parent 54919778
......@@ -35,7 +35,8 @@ class @DiscussionThreadListView extends Backbone.View
sidebar.removeClass('fixed');
sidebar.css('top', '0');
sidebarWidth = .32 * $(".discussion-body").width() - 10;
# sidebarWidth = .32 * $(".discussion-body").width() - 10;
sidebarWidth = .31 * $(".discussion-body").width();
sidebar.css('width', sidebarWidth + 'px');
sidebarHeight = windowHeight - Math.max(discussionsBodyTop - scrollTop, @sidebar_padding)
......
......@@ -551,7 +551,7 @@ body.discussion {
.sidebar {
float: left;
@include box-sizing(border-box);
width: 32%;
width: 31%;
height: 550px;
border: 1px solid #aaa;
box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment