ソースを参照

横向滚动修改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;
     // overflow: hidden;
     .nut-hor-list{
     .nut-hor-list{
         height: 100%;
         height: 100%;
-        display: flex;
+        display: inline-flex;
         flex-direction: row;
         flex-direction: row;
         box-orient: horizontal;
         box-orient: horizontal;
         box-direction: normal;
         box-direction: normal;