Skip to content

Commit

Permalink
fix(Tabs): 修复Tabs组件嵌套使用Tabs时,type属性会失效问题 #796 (#799)
Browse files Browse the repository at this point in the history
  • Loading branch information
cuilanxin committed Apr 28, 2022
1 parent 846c227 commit 3d8c55a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-tabs/src/index.tsx
@@ -1,4 +1,4 @@
import React, { useEffect, useState, useRef, useCallback, useMemo } from 'react';
import React, { useEffect, useState, useRef, useCallback } from 'react';
import { IProps, HTMLDivProps } from '@uiw/utils';
import Pane from './Pane';
import './style/index.less';
Expand Down
6 changes: 6 additions & 0 deletions packages/react-tabs/src/style/index.less
Expand Up @@ -55,6 +55,12 @@
border-bottom: 1px solid #d9d9d9;
}
}
.@{w-tabs} {
&-card &-nav::after,
&-default &-nav::after {
content: none;
}
}

.@{w-tabs} {
&-line &-slide {
Expand Down

0 comments on commit 3d8c55a

Please sign in to comment.