Skip to content

Commit

Permalink
Fix scrollbar collapse in Safari
Browse files Browse the repository at this point in the history
  • Loading branch information
Amphiluke committed May 14, 2018
1 parent 4bfc9ee commit 7808550
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion dist/jquery.floatingscroll.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/jquery.floatingscroll.es6.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/jquery.floatingscroll.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion floating-scroll.jquery.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "floating-scroll",
"title": "floatingScroll",
"version": "3.0.0",
"version": "3.0.2",
"description": "A lightweight jQuery plugin providing floating scrollbar functionality",
"keywords": [
"scrollbar",
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "floating-scroll",
"version": "3.0.1",
"version": "3.0.2",
"description": "A lightweight jQuery plugin providing floating scrollbar functionality",
"main": "src/jquery.floatingscroll.js",
"style": "src/jquery.floatingscroll.css",
Expand Down
5 changes: 3 additions & 2 deletions src/jquery.floatingscroll.less
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.fl-scrolls {
&, & div {
font-size:0;
font-size:1px;
line-height:0;
margin:0;
padding:0;
Expand All @@ -14,9 +14,10 @@
& div {
height:1px;
overflow:hidden;
pointer-events:none;
}
& div:before {
content:""; /* fixes #6 */
content:"\A0"; /* fixes #6 */
}
&-hidden {
bottom:9999px;
Expand Down

0 comments on commit 7808550

Please sign in to comment.