Skip to content

Commit 6c0e568

Browse files
authored
Merge pull request #791 from abilpraju-aot/expression-tab
FWF-5312 [Bugfix] expression builder tab UI fix
2 parents 25d52c1 + cfcba5c commit 6c0e568

File tree

1 file changed

+57
-0
lines changed

1 file changed

+57
-0
lines changed

forms-flow-theme/scss/_modal.scss

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -938,6 +938,63 @@ $lineThin: 1px;
938938

939939
.variable-tab {
940940
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+
}
941998
}
942999

9431000

0 commit comments

Comments
 (0)