Skip to content

Commit

Permalink
fix(tab-header): 修复全宽模式在手机端或者有很多选项卡时出现滑动效果的bug (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
tianyanqiu committed Oct 31, 2019
1 parent 4acdab5 commit d7f61fc
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/components/tab-header/TabList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ interface Props {
}

const fullWidthCss = css`
& > * {
flex: 1;
&& {
& > * {
flex: 1;
padding: 0px;
}
}
`;

Expand Down

0 comments on commit d7f61fc

Please sign in to comment.