Browse Source

update Tabs card demo

pull/2084/head
afc163 9 years ago
parent
commit
a9887ad7db
  1. 5
      components/tabs/demo/card-top.md
  2. 2
      components/tabs/style/index.less

5
components/tabs/demo/card-top.md

@ -34,7 +34,10 @@ ReactDOM.render(
margin-top: -16px;
}
.card-container > .ant-tabs-card > .ant-tabs-bar .ant-tabs-bar,
.card-container > .ant-tabs-card > .ant-tabs-bar .ant-tabs-tab {
border-color: transparent;
}
.card-container > .ant-tabs-card > .ant-tabs-bar .ant-tabs-tab-active {
border-color: #fff;
}

2
components/tabs/style/index.less

@ -379,7 +379,7 @@
}
&&-card > &-bar &-tab {
margin: 0;
border: 1px solid transparent;
border: 1px solid @border-color-base;
border-bottom: 0;
border-radius: 6px 6px 0 0;
transition: all 0.3s @ease-in-out;

Loading…
Cancel
Save