File tree Expand file tree Collapse file tree 1 file changed +57
-0
lines changed Expand file tree Collapse file tree 1 file changed +57
-0
lines changed Original file line number Diff line number Diff line change @@ -938,6 +938,63 @@ $lineThin: 1px;
938
938
939
939
.variable-tab {
940
940
gap : var (--spacer-150 );
941
+
942
+ // Support both old React Bootstrap v1.6.0 and new v2.10.6 structures
943
+ & .nav-tabs {
944
+ border-bottom : 1px solid var (--ff-gray-000 ) !important ;
945
+
946
+ // Old structure: direct anchor tags
947
+ a .nav-link {
948
+ @include textBaseHightlight ($fontBase , $primary-color );
949
+ @include clickableFeedback1 ();
950
+
951
+ padding : 0 ;
952
+ padding-bottom : $base ;
953
+ margin : 0 !important ;
954
+ margin-bottom : calc (0px - $lineThin ) !important ;
955
+ border : none !important ;
956
+ border-bottom : $lineThick solid $transparent !important ;
957
+ background : transparent !important ;
958
+
959
+ & :hover {
960
+ color : $primary-color ;
961
+ }
962
+
963
+ & .active {
964
+ color : $gray-darkest ;
965
+ border-bottom : $lineThick solid $gray-darkest !important ;
966
+ }
967
+ }
968
+
969
+ // New structure: list items with button elements
970
+ li .nav-item {
971
+ display : flex ;
972
+
973
+ button .nav-link {
974
+ @include textBaseHightlight ($fontBase , $primary-color );
975
+ @include clickableFeedback1 ();
976
+
977
+ width : 100% ;
978
+ text-align : left ;
979
+ padding : 0 ;
980
+ padding-bottom : $base ;
981
+ margin : 0 !important ;
982
+ margin-bottom : calc (0px - $lineThin ) !important ;
983
+ border : none !important ;
984
+ border-bottom : $lineThick solid $transparent !important ;
985
+ background : transparent !important ;
986
+
987
+ & :hover {
988
+ color : $primary-color ;
989
+ }
990
+
991
+ & .active {
992
+ color : $gray-darkest ;
993
+ border-bottom : $lineThick solid $gray-darkest !important ;
994
+ }
995
+ }
996
+ }
997
+ }
941
998
}
942
999
943
1000
You can’t perform that action at this time.
0 commit comments