From 41d0f35b1e34f88a344ef1631928d9e0bea80a95 Mon Sep 17 00:00:00 2001 From: Anima-t3d Date: Sat, 5 Apr 2014 10:58:09 +0200 Subject: [PATCH 1/2] Added margin and padding support + mirrorring Added: -Margin (top, right, bottom, left): both rail and hrail -Padding (top,right, bottom, left): both rail and hrail -Option to mirror settings of rail to hrail when no specific margin or padding is given to hrail (default:true) Modified: -Demo: document scroll is updated with newly added options to show and test the modified code --- demo/index.html | 6 +- demo/js/jquery.nicescroll.min.js | 115 +------------------------------ jquery.nicescroll.js | 55 +++++++++++---- jquery.nicescroll.min.js | 115 +------------------------------ 4 files changed, 50 insertions(+), 241 deletions(-) diff --git a/demo/index.html b/demo/index.html index 8314295..cb55700 100644 --- a/demo/index.html +++ b/demo/index.html @@ -49,7 +49,11 @@