Get back to old version of log number scrolling
This commit is contained in:
parent
87e8f32637
commit
3fdd2d50ab
|
@ -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: (->
|
||||
|
|
|
@ -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
|
@ -1 +1 @@
|
|||
3f335268
|
||||
a6f7d323
|
Loading…
Reference in New Issue
Block a user