Skip to content

Commit

Permalink
fix(tabs): 隐藏滚动条
Browse files Browse the repository at this point in the history
  • Loading branch information
jimczj committed Aug 13, 2018
1 parent 62217be commit 35db71d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/tabs/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
width: 100%;
box-sizing: border-box;
white-space: nowrap;
overflow: -moz-scrollbars-none;

&--scroll {
overflow-x: auto;
Expand All @@ -53,6 +54,10 @@
overflow: visible;
}
}

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

&__body {
Expand Down

0 comments on commit 35db71d

Please sign in to comment.