Skip to content

Commit

Permalink
fix(Tab): right border missing in capsule shape
Browse files Browse the repository at this point in the history
  • Loading branch information
guanpu committed Mar 25, 2019
1 parent 8ea553f commit 8ff454e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/tab/main.scss
Expand Up @@ -342,6 +342,7 @@

&.active {
margin-right: -$tab-capsule-tab-border-line-width;
border-right: $tab-capsule-tab-border;
border-color: $tab-capsule-tab-border-line-color-active;
}

Expand Down
2 changes: 1 addition & 1 deletion src/tab/tab.jsx
Expand Up @@ -50,7 +50,7 @@ export default class Tab extends Component {
*/
triggerType: PropTypes.oneOf(['hover', 'click']),
/**
* 是否提前渲染好所有 TabPane 的内容
* 是否延迟加载 TabPane 的内容, 默认开启, 即不提前渲染
*/
lazyLoad: PropTypes.bool,
/**
Expand Down

0 comments on commit 8ff454e

Please sign in to comment.