Skip to content

Commit

Permalink
fix: 修复tabs 滚动时高度变化
Browse files Browse the repository at this point in the history
  • Loading branch information
jimczj committed Aug 14, 2018
1 parent 6a55443 commit 4230a73
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/tabs/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
overflow: -moz-scrollbars-none;

&--scroll {
overflow-x: auto;
overflow-x: scroll;
-webkit-overflow-scrolling: touch;
white-space: nowrap;

Expand All @@ -56,6 +56,7 @@
}

&::-webkit-scrollbar {
height: 0 !important;
width: 0 !important;
}
}
Expand Down

0 comments on commit 4230a73

Please sign in to comment.