浏览代码

横向滚动修改flex布局

宋成林 6 年之前
父节点
当前提交
835d8226dc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/packages/scroller/scroller.scss

+ 1 - 1
src/packages/scroller/scroller.scss

@@ -10,7 +10,7 @@
     // overflow: hidden;
     .nut-hor-list{
         height: 100%;
-        display: flex;
+        display: inline-flex;
         flex-direction: row;
         box-orient: horizontal;
         box-direction: normal;