Skip to content

Commit ea89e58

Browse files
committed
fix(segment-button): ensure the indicator moves properly
1 parent 9a15c3c commit ea89e58

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

core/src/components/segment-button/segment-button.ionic.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@
3333

3434
.button-native {
3535
border-bottom: var(--border-width) var(--border-style) var(--border-color);
36+
37+
// Ensures the indicator moves correctly between segment buttons
38+
z-index: 1;
3639
}
3740

3841
.button-inner {
@@ -87,5 +90,6 @@
8790
.segment-button-indicator {
8891
@include globals.position(null, 0, 0, 0);
8992

93+
// Ensures the indicator displays correctly above the border
9094
z-index: 2;
9195
}

0 commit comments

Comments
 (0)