simpler sidebar width setting
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user