Skip to content

Commit d9b8f28

Browse files
authored
fix: bugs with tab component (#589)
## Overview Fix misc bugs with tabs component. ## Changes - Remove bottom border from Bootstrap Nav Tabs. - Remove bottom margin from Tabs component labels. ## Testing & UI https://github.com/user-attachments/assets/8f160919-522d-4d27-99f1-d3a2be1fede1 https://github.com/user-attachments/assets/d38ecdda-e6a8-4901-8a66-cb87e9055db0
1 parent fcad0f7 commit d9b8f28

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/lib/_imports/components/bootstrap.nav-tabs.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
.nav-tabs {
99
@extend .x-tabs;
10+
border-bottom: none;
1011
}
1112
ul.nav-tabs {
1213
padding-left: unset; /* overwrite core-styles.cms.css */

src/lib/_imports/tools/x-tabs.skin.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
font-size: var(--global-font-size--medium);
1919
font-weight: var(--medium);
2020
}
21+
.x-tabs__tab:is(label) {
22+
margin-bottom: 0; /* to undo `elements/form.css` */
23+
}
2124
.x-tabs__tab:is(a) {
2225
text-decoration: none;
2326
}

0 commit comments

Comments
 (0)