diff --git a/src/scroll.css b/src/scroll.css index 36a1773..7a7e0a4 100644 --- a/src/scroll.css +++ b/src/scroll.css @@ -38,5 +38,10 @@ display: none; } .happy-scroll-container { - overflow: auto; + overflow: auto; +} + +.happy-scroll-container .happy-scroll-content{ + /* 解决横向滚动差 20px 的问题 */ + display: inline-block; }