Commit b98b43e8 by Tom Giannattasio

sidebar height one pixel taller

parent 19c5895c
...@@ -75,7 +75,7 @@ if Backbone? ...@@ -75,7 +75,7 @@ if Backbone?
amount = Math.max(topOffset - discussionBottomOffset, 0) amount = Math.max(topOffset - discussionBottomOffset, 0)
sidebarHeight = sidebarHeight - @sidebar_padding - amount sidebarHeight = sidebarHeight - @sidebar_padding - amount
sidebarHeight = Math.min(sidebarHeight, discussionBody.outerHeight()) sidebarHeight = Math.min(sidebarHeight + 1, discussionBody.outerHeight())
sidebar.css 'height', sidebarHeight sidebar.css 'height', sidebarHeight
postListWrapper = @$('.post-list-wrapper') postListWrapper = @$('.post-list-wrapper')
......
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