We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
1 parent 81ef281 commit d894734Copy full SHA for d894734
packages/react-tabs/src/index.tsx
@@ -105,7 +105,7 @@ export default function Tabs(props: TabsProps) {
105
if (activeItem.current && type === 'line') {
106
setSlideStyle({
107
width: activeItem.current.clientWidth,
108
- left: activeItem.current.offsetLeft,
+ left: activeItem.current.offsetLeft + 15,
109
});
110
}
111
packages/react-tabs/src/style/index.less
@@ -60,7 +60,7 @@
60
&-line &-slide {
61
background-color: #108ee9;
62
box-sizing: border-box;
63
- bottom: 0;
+ bottom: 45px;
64
position: absolute;
65
height: 1px;
66
left: 0;
0 commit comments