💄 new tabs style (#21256)

smaller bar width
This commit is contained in:
偏右 2020-02-07 11:08:16 +08:00 committed by GitHub
parent 369b284d8d
commit d23c550976
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 4 deletions

View File

@ -151,7 +151,7 @@
}
.@{ant-prefix}-tabs-tab {
padding: 8px;
padding: @tabs-horizontal-padding-sm;
font-size: 16px;
}
}

View File

@ -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;

View File

@ -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

View File

@ -26,6 +26,7 @@ title: 从 v3 到 v4
- 分割线颜色明度降低,由 `#E8E8E8` 改为 `#F0F0F0`
- DatePicker 交互重做,面板和输入框分离,范围选择现可单独选择开始和结束时间。
- Table 默认背景颜色从透明修改为白色。
- Tabs 火柴棍样式缩短为和文字等长。
### 兼容性调整