Skip to content

Commit 8ff454e

Browse files
committed
fix(Tab): right border missing in capsule shape
1 parent 8ea553f commit 8ff454e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/tab/main.scss

+1
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,7 @@
342342

343343
&.active {
344344
margin-right: -$tab-capsule-tab-border-line-width;
345+
border-right: $tab-capsule-tab-border;
345346
border-color: $tab-capsule-tab-border-line-color-active;
346347
}
347348

src/tab/tab.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export default class Tab extends Component {
5050
*/
5151
triggerType: PropTypes.oneOf(['hover', 'click']),
5252
/**
53-
* 是否提前渲染好所有 TabPane 的内容
53+
* 是否延迟加载 TabPane 的内容, 默认开启, 即不提前渲染
5454
*/
5555
lazyLoad: PropTypes.bool,
5656
/**

0 commit comments

Comments
 (0)