mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-28 22:19:59 +02:00
Getting rid of bad scrollbar
This commit is contained in:
8
docs/static/js/scripts.js
vendored
8
docs/static/js/scripts.js
vendored
@@ -6,14 +6,6 @@ function initializeJS() {
|
||||
//popovers
|
||||
jQuery('.popovers').popover();
|
||||
|
||||
//custom scrollbar
|
||||
//for html
|
||||
jQuery("html").niceScroll({styler:"fb",cursorcolor:"#007AFF", cursorwidth: '6', cursorborderradius: '10px', background: '#F7F7F7', cursorborder: '', zindex: '1000'});
|
||||
//for sidebar
|
||||
jQuery("#sidebar").niceScroll({styler:"fb",cursorcolor:"#007AFF", cursorwidth: '3', cursorborderradius: '10px', background: '#F7F7F7', cursorborder: ''});
|
||||
// for scroll panel
|
||||
jQuery(".scroll-panel").niceScroll({styler:"fb",cursorcolor:"#007AFF", cursorwidth: '3', cursorborderradius: '10px', background: '#F7F7F7', cursorborder: ''});
|
||||
|
||||
//sidebar dropdown menu
|
||||
jQuery('#sidebar .sub-menu > a').click(function () {
|
||||
var last = jQuery('.sub-menu.open', jQuery('#sidebar'));
|
||||
|
Reference in New Issue
Block a user