We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f1ebc0 commit 1999c44Copy full SHA for 1999c44
2 files changed
src/Shared/Components/TabGroup/TabGroup.component.tsx
@@ -36,8 +36,8 @@ const MotionLayoutUnderline = ({
36
<motion.div
37
layout="position"
38
layoutId={layoutId}
39
- className="bcb-5"
40
- style={{ height: 2, ...(alignActiveBorderWithContainer ? { bottom: -1 } : {}) }}
+ className="underline bcb-5"
+ style={{ ...(alignActiveBorderWithContainer ? { bottom: -1 } : {}) }}
41
/>
42
)
43
src/Shared/Components/TabGroup/TabGroup.scss
@@ -33,14 +33,8 @@
33
34
@include svg-styles(var(--N700));
35
- &::after {
- content: '';
- position: absolute;
- bottom: 0;
- left: 0;
- width: 100%;
+ .underline {
height: 2px;
- background-color: transparent;
44
border-top-left-radius: 2px;
45
border-top-right-radius: 2px;
46
}
0 commit comments