fix: Page contents block doesn't stick until end of page

This commit is contained in:
NGPixel
2017-04-30 00:05:00 -04:00
parent 6c3ce99136
commit e458ee1a0d
4 changed files with 15 additions and 12 deletions

View File

@@ -7,7 +7,7 @@ import _ from 'lodash'
import io from 'socket.io-client'
import Alerts from './components/alerts.js'
import 'jquery-smooth-scroll'
import Sticky from 'sticky-js'
import 'jquery-sticky'
$(() => {
// ====================================
@@ -19,7 +19,7 @@ $(() => {
offset: -70
})
var sticky = new Sticky('.stickyscroll') // eslint-disable-line no-unused-vars
$('.stickyscroll').sticky({ topSpacing: 15 })
// ====================================
// Notifications