Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style: 💄 New tabs style #21256

Merged
merged 1 commit into from Feb 7, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/page-header/style/index.less
Expand Up @@ -151,7 +151,7 @@
}

.@{ant-prefix}-tabs-tab {
padding: 8px;
padding: @tabs-horizontal-padding-sm;
font-size: 16px;
}
}
Expand Down
6 changes: 3 additions & 3 deletions components/style/themes/default.less
Expand Up @@ -604,9 +604,9 @@
@tabs-bar-margin: 0 0 16px 0;
@tabs-horizontal-margin: 0 32px 0 0;
@tabs-horizontal-margin-rtl: 0 0 0 32px;
@tabs-horizontal-padding: 12px 16px;
@tabs-horizontal-padding-lg: 16px;
@tabs-horizontal-padding-sm: 8px 16px;
@tabs-horizontal-padding: 12px 0;
@tabs-horizontal-padding-lg: 16px 0;
@tabs-horizontal-padding-sm: 8px 0;
@tabs-vertical-padding: 8px 24px;
@tabs-vertical-margin: 0 0 16px 0;
@tabs-scrolling-size: 32px;
Expand Down
1 change: 1 addition & 0 deletions docs/react/migration-v4.en-US.md
Expand Up @@ -26,6 +26,7 @@ This document will help you upgrade from antd `3.x` version to antd `4.x` versio
- The color brightness of the dividing line has been reduced from `#E8E8E8` to`#F0F0F0`.
- DatePicker interactive redo, range selection can now select start and end time separately.
- Table change default background color from transparent to white.
- Smaller Tabs bar width.

### Compatibility

Expand Down
1 change: 1 addition & 0 deletions docs/react/migration-v4.zh-CN.md
Expand Up @@ -26,6 +26,7 @@ title: 从 v3 到 v4
- 分割线颜色明度降低,由 `#E8E8E8` 改为 `#F0F0F0`。
- DatePicker 交互重做,面板和输入框分离,范围选择现可单独选择开始和结束时间。
- Table 默认背景颜色从透明修改为白色。
- Tabs 火柴棍样式缩短为和文字等长。

### 兼容性调整

Expand Down