File tree Expand file tree Collapse file tree 3 files changed +1
-14
lines changed Expand file tree Collapse file tree 3 files changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,6 @@ const Underline = styled.div`
9090 width: 100%;
9191 height: 2px;
9292 background-color: ${ ( props ) => props . theme . dividerColor } ;
93- z-index: -1;
9493` ;
9594
9695DxcNavTabs . Tab = DxcTab ;
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ const TabContainer = styled.div<{ active: TabProps["active"] }>`
9393 align-items: stretch;
9494 border-bottom: 2px solid ${ ( props ) => ( props . active ? props . theme . selectedUnderlineColor : 'transparent' ) } ;
9595 padding: 0.5rem;
96-
96+ z-index: 1;
9797 svg {
9898 color: ${ ( props ) => props . theme . unselectedIconColor } ;
9999 }
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ const TabsPageLayout = ({ tabs }: TabsPageLayoutProps) => {
1212 const router = useRouter ( ) ;
1313
1414 return (
15- < TabsContainer >
1615 < DxcNavTabs >
1716 { tabs . map ( ( tab , index ) => (
1817 < Link key = { index } href = { tab . path } passHref legacyBehavior >
@@ -22,18 +21,7 @@ const TabsPageLayout = ({ tabs }: TabsPageLayoutProps) => {
2221 </ Link >
2322 ) ) }
2423 </ DxcNavTabs >
25- </ TabsContainer >
2624 ) ;
2725} ;
2826
29- const TabsContainer = styled . div `
30- display: grid;
31- grid-template-columns: minmax(0, min-content) 1fr;
32- overflow-x: auto;
33- ` ;
34-
35- const Divider = styled . span `
36- border-bottom: 2px solid #bfbfbf;
37- ` ;
38-
3927export default TabsPageLayout ;
You can’t perform that action at this time.
0 commit comments