修复默认样式和card样式下,tabPosition=bottom时的样式错误 (#9104) (#9165)

This commit is contained in:
ryanhoho 2018-02-04 16:40:44 +08:00 committed by Wei Zhu
parent 75c365aa2c
commit 42354989e9
2 changed files with 29 additions and 0 deletions

View File

@ -132,4 +132,17 @@
}
}
}
// https://github.com/ant-design/ant-design/issues/9104
&&-card&-bottom > &-bar &-tab {
border-bottom: @border-width-base @border-style-base @border-color-split;
border-top: 0;
border-radius: 0 0 @border-radius-base @border-radius-base;
}
&&-card&-bottom > &-bar &-tab-active {
color: @primary-color;
padding-bottom: 0;
padding-top: 1px;
}
}

View File

@ -56,6 +56,22 @@
}
}
// https://github.com/ant-design/ant-design/issues/9104
&-bottom &-bar {
border-bottom: none;
border-top: @border-width-base @border-style-base @border-color-split;
}
&-bottom &-ink-bar {
bottom: auto;
top: 1px;
}
&-bottom &-nav-container {
margin-bottom: 0;
margin-top: -1px;
}
&-tab-prev,
&-tab-next {
user-select: none;