Skip to content

Commit

Permalink
fix(scroll.css): 修复横向滚动到最左边差20像素的问题。(#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
tangdaohai committed Sep 13, 2018
1 parent 497c830 commit 23e8df0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/scroll.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,10 @@
display: none;
}
.happy-scroll-container {
overflow: auto;
overflow: auto;
}

.happy-scroll-container .happy-scroll-content{
/* 解决横向滚动差 20px 的问题 */
display: inline-block;
}

0 comments on commit 23e8df0

Please sign in to comment.