From 08a25e0e7ca6a48e4d4b1d39215ecb798c694300 Mon Sep 17 00:00:00 2001 From: paranoidjk Date: Thu, 2 Mar 2017 17:25:13 +0800 Subject: [PATCH] i --- README.md | 7 +++---- assets/index/left.less | 4 +--- assets/index/right.less | 4 +--- package.json | 1 + 4 files changed, 6 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index ec592ead..d55d8f94 100644 --- a/README.md +++ b/README.md @@ -237,7 +237,7 @@ tab bar with ink indicator, in addition to tab bar props, extra props: scrollable tab bar with ink indicator, same with tab bar/ink bar props. -### lib/SwipeableInkTabBar +### lib/SwipeableInkTabBar (Use for Mobile) swipeable tab bar with ink indicator, same with tab bar/ink bar props, and below is the additional props. @@ -254,7 +254,7 @@ swipeable tab bar with ink indicator, same with tab bar/ink bar props, and below pageSize number - <5/th> + 5 show how many tabs at one page @@ -313,7 +313,7 @@ swipeable tab bar with ink indicator, same with tab bar/ink bar props, and below ### lib/SwipeableTabContent -swipeable tab panes, in addition to lib/TabContent props, extra props: +swipeable tab panes, in addition to lib/TabContent props, extra props: @@ -334,7 +334,6 @@ swipeable tab panes, in addition to lib/TabContent props, extra props:
- ## Note If you want to support old browsers(which does not support flex/css-transition), diff --git a/assets/index/left.less b/assets/index/left.less index e764b95b..c5d401f2 100644 --- a/assets/index/left.less +++ b/assets/index/left.less @@ -43,8 +43,6 @@ flex-direction: column; height: 100%; .@{tabs-prefix-cls}-tab { - margin-right: 0; - padding: 0 34px; justify-content: center; } } @@ -89,4 +87,4 @@ &-left &-tab { padding: 16px 24px; } -} \ No newline at end of file +} diff --git a/assets/index/right.less b/assets/index/right.less index c3efb649..84ba8c47 100644 --- a/assets/index/right.less +++ b/assets/index/right.less @@ -34,8 +34,6 @@ flex-direction: column; height: 100%; .@{tabs-prefix-cls}-tab { - margin-right: 0; - padding: 0 34px; justify-content: center; } } @@ -88,4 +86,4 @@ &-right &-tab { padding: 16px 24px; } -} \ No newline at end of file +} diff --git a/package.json b/package.json index 5263fa94..40398440 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,7 @@ "start": "rc-tools run server", "pub": "rc-tools run pub --babel-runtime", "lint": "rc-tools run lint", + "watch": "rc-tools run watch", "karma": "rc-tools run karma", "saucelabs": "rc-tools run saucelabs", "test": "jest",