Get back to old version of log number scrolling

This commit is contained in:
Piotr Sarnacki 2012-10-22 21:04:54 +02:00
parent 87e8f32637
commit 3fdd2d50ab
6 changed files with 2121 additions and 1618 deletions

View File

@ -58,8 +58,9 @@
# TODO: fix this
$('#main').scrollTop 0
currentScroll = $('.application > div').scrollTop()
$('.application > div').scrollTop $(hash).offset().top + currentScroll - 40
# weird, html works in chrome, body in firefox
$('html,body').scrollTop $(hash).offset().top - $('#top').height()
@set 'controller.lineNumberHash', null
lineNumberHashDidChange: (->

View File

@ -3,7 +3,7 @@
$left-width: 250px
html, body
height: 100%
min-height: 100%
.application
width: 100%
@ -13,13 +13,12 @@ html, body
.application, .application > div
width: 100%
min-height: 100%
height: 100%
.application > div
overflow-x: auto
#top
position: absolute
position: fixed
top: 0
left: 0
width: 100%

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@ -1 +1 @@
3f335268
a6f7d323