mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-28 16:28:01 -05:00
adminbar: Layer short timeline events above long ones.
This commit is contained in:
@@ -148,7 +148,8 @@ r.adminbar.TimingBarGraph = Backbone.View.extend({
|
||||
.attr('title', key + ': ' + eventDuration + 's')
|
||||
.css({
|
||||
left: pos(timing.get('start') - startBound) + '%',
|
||||
right: pos(endBound - timing.get('end')) + '%'
|
||||
right: pos(endBound - timing.get('end')) + '%',
|
||||
zIndex: 1000 - Math.min(800, Math.floor(timing.duration() * 100))
|
||||
})
|
||||
)
|
||||
}, this)
|
||||
|
||||
Reference in New Issue
Block a user