Topic: Error in the selector of the tabs.
Raúl Carlos Rodrigo Sierra Hernández pro asked 7 years ago
.classic-tabs { white-space: nowrap; overflow-x: auto; border-radius: $classic-tabs-border-radius $classic-tabs-border-radius 0 0; @media (min-width: 62rem) { overflow-x: hidden; } li { @media (min-width: 62em) { flex: inherit; } a { display: block; padding: $classic-tabs-padding-y $classic-tabs-padding-x; font-size: $classic-tabs-font-size; text-transform: uppercase; color: $classic-tabs-color; text-align: center; border-radius: 0; &.active { border-bottom: $classic-tabs-li-a-active-border-bottom; color: $white; } } @media (min-width: 62em) { &:first-child { margin-left: $classic-tabs-margin-left; } } }For this:
.classic-tabs { white-space: nowrap; overflow-x: auto; border-radius: $classic-tabs-border-radius $classic-tabs-border-radius 0 0; @media (min-width: 62rem) { overflow-x: hidden; } & > li { @media (min-width: 62em) { flex: inherit; } a { display: block; padding: $classic-tabs-padding-y $classic-tabs-padding-x; font-size: $classic-tabs-font-size; text-transform: uppercase; color: $classic-tabs-color; text-align: center; border-radius: 0; &.active { border-bottom: $classic-tabs-li-a-active-border-bottom; color: $white; } } @media (min-width: 62em) { &:first-child { margin-left: $classic-tabs-margin-left; } } }Regards!
Marta Szymanska staff pro premium answered 7 years ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: No
- Technology: General Bootstrap questions
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No