diff --git a/components/popconfirm/index.md b/components/popconfirm/index.md
index 491d21135c..9cfd85810c 100644
--- a/components/popconfirm/index.md
+++ b/components/popconfirm/index.md
@@ -19,7 +19,7 @@
| 参数 | 说明 | 类型 | 默认值 |
|-----------|------------------------------------------|---------------|--------|
-| placement | 气泡框位置,可选 `top/left/right/bottom` | string | top |
+| placement | 气泡框位置,可选 `top/left/right/bottom` `topLeft/topRight/bottomLeft/bottomRight` `leftTop/leftBottom/rightTop/rightBottom` | string | top |
| title | 确认框的描述 | string | 无 |
| onConfirm | 点击确认的回调 | function | 无 |
| onCancel | 卡片内容 | function | 无 |
diff --git a/components/popover/index.jsx b/components/popover/index.jsx
index 730aef6c02..44aef07df2 100644
--- a/components/popover/index.jsx
+++ b/components/popover/index.jsx
@@ -52,7 +52,7 @@ const Popover = React.createClass({
return (
{this.props.title &&
{this.props.title}
}
-
diff --git a/components/table/index.jsx b/components/table/index.jsx
index 6ea2663f46..d87df967ab 100644
--- a/components/table/index.jsx
+++ b/components/table/index.jsx
@@ -456,7 +456,7 @@ let AntTable = React.createClass({
handleShowSizeChange(current, pageSize) {
const pagination = this.state.pagination;
pagination.onShowSizeChange(current, pageSize);
- const nextPagination = { ...pagination, pageSize };
+ const nextPagination = { ...pagination, pageSize, current };
this.setState({ pagination: nextPagination });
this.props.onChange(...this.prepareParamsArguments({
...this.state,
diff --git a/components/tabs/index.md b/components/tabs/index.md
index 1a0127b9f2..ace73874b0 100644
--- a/components/tabs/index.md
+++ b/components/tabs/index.md
@@ -30,6 +30,7 @@ Ant Design 依次提供了三级选项卡,分别用于不同的场景。
| onTabClick | tab 被点击的回调 | Function | 无 |
| tabBarExtraContent | tab bar 上额外的元素 | React Node | 无 |
| type | 页签的基本样式,可选 `line`、`card` `editable-card` 类型 | String | 'line' |
+| size | 大小,提供 `default` 和 `small` 两种大小 | String | 'default' |
| tabPosition | 页签位置,可选值有 `top` `right` `bottom` `left` | String | 'top' |
| onEdit | 新增和删除页签的回调,在 `type="editable-card"` 时有效 | Function(targetKey, action) | 无 |
diff --git a/components/upload/index.md b/components/upload/index.md
index 6fba743b8f..a81217d52c 100644
--- a/components/upload/index.md
+++ b/components/upload/index.md
@@ -1,7 +1,7 @@
# Upload
- category: Components
-- chinese: 文件上传
+- chinese: 上传
- type: 表单
---
diff --git a/style/components/confirm.less b/style/components/confirm.less
index 19164b0378..9e98fcb725 100644
--- a/style/components/confirm.less
+++ b/style/components/confirm.less
@@ -21,6 +21,7 @@
margin-left: 37px;
font-size: @font-size-base;
color: @text-color;
+ margin-top: 8px;
}
.anticon {
diff --git a/style/components/popover.less b/style/components/popover.less
index de6f6c12dc..cf24939d73 100644
--- a/style/components/popover.less
+++ b/style/components/popover.less
@@ -93,7 +93,7 @@
color: #666;
}
- &-content {
+ &-inner-content {
padding: 8px 16px;
color: @text-color;
}
@@ -143,9 +143,9 @@
content: "";
}
- &-placement-top > &-arrow,
- &-placement-topLeft > &-arrow,
- &-placement-topRight > &-arrow {
+ &-placement-top &-arrow,
+ &-placement-topLeft &-arrow,
+ &-placement-topRight &-arrow {
border-bottom-width: 0;
border-top-color: @popover-arrow-outer-color;
bottom: 0;
@@ -157,20 +157,20 @@
border-top-color: @popover-arrow-color;
}
}
- &-placement-top > &-arrow {
+ &-placement-top &-arrow {
left: 50%;
margin-left: -@popover-arrow-outer-width;
}
- &-placement-topLeft > &-arrow {
+ &-placement-topLeft &-arrow {
left: 16px;
}
- &-placement-topRight > &-arrow {
+ &-placement-topRight &-arrow {
right: 16px;
}
- &-placement-right > &-arrow,
- &-placement-rightTop > &-arrow,
- &-placement-rightBottom > &-arrow {
+ &-placement-right &-arrow,
+ &-placement-rightTop &-arrow,
+ &-placement-rightBottom &-arrow {
left: 0;
border-left-width: 0;
border-right-color: @popover-arrow-outer-color;
@@ -182,20 +182,20 @@
border-right-color: @popover-arrow-color;
}
}
- &-placement-right > &-arrow {
+ &-placement-right &-arrow {
top: 50%;
margin-top: -@popover-arrow-outer-width;
}
- &-placement-rightTop > &-arrow {
+ &-placement-rightTop &-arrow {
top: 12px;
}
- &-placement-rightBottom > &-arrow {
+ &-placement-rightBottom &-arrow {
bottom: 12px;
}
- &-placement-bottom > &-arrow,
- &-placement-bottomLeft > &-arrow,
- &-placement-bottomRight > &-arrow {
+ &-placement-bottom &-arrow,
+ &-placement-bottomLeft &-arrow,
+ &-placement-bottomRight &-arrow {
border-top-width: 0;
border-bottom-color: @popover-arrow-outer-color;
top: 0;
@@ -207,20 +207,20 @@
border-bottom-color: @popover-arrow-color;
}
}
- &-placement-bottom > &-arrow {
+ &-placement-bottom &-arrow {
left: 50%;
margin-left: -@popover-arrow-outer-width;
}
- &-placement-bottomLeft > &-arrow {
+ &-placement-bottomLeft &-arrow {
left: 16px;
}
- &-placement-bottomRight > &-arrow {
+ &-placement-bottomRight &-arrow {
right: 16px;
}
- &-placement-left > &-arrow,
- &-placement-leftTop > &-arrow,
- &-placement-leftBottom > &-arrow {
+ &-placement-left &-arrow,
+ &-placement-leftTop &-arrow,
+ &-placement-leftBottom &-arrow {
right: 0;
border-right-width: 0;
border-left-color: @popover-arrow-outer-color;
@@ -232,14 +232,14 @@
bottom: -@popover-arrow-width;
}
}
- &-placement-left > &-arrow {
+ &-placement-left &-arrow {
top: 50%;
margin-top: -@popover-arrow-outer-width;
}
- &-placement-leftTop > &-arrow {
+ &-placement-leftTop &-arrow {
top: 12px;
}
- &-placement-leftBottom > &-arrow {
+ &-placement-leftBottom &-arrow {
bottom: 12px;
}
}