diff --git a/core/src/components/segment-button/segment-button.md.scss b/core/src/components/segment-button/segment-button.md.scss index f8fa1e2a51..1af4d5ca66 100644 --- a/core/src/components/segment-button/segment-button.md.scss +++ b/core/src/components/segment-button/segment-button.md.scss @@ -44,6 +44,10 @@ text-transform: uppercase; } +.button-native { + min-width: $segment-button-md-min-width; +} + // Segment Button: Disabled // -------------------------------------------------- diff --git a/core/src/components/segment/segment.md.scss b/core/src/components/segment/segment.md.scss index ab60499cce..0f99d548a7 100644 --- a/core/src/components/segment/segment.md.scss +++ b/core/src/components/segment/segment.md.scss @@ -13,5 +13,5 @@ // -------------------------------------------------- :host(.segment-scrollable) ::slotted(ion-segment-button) { - min-width: $segment-button-md-min-width; + min-width: auto; } \ No newline at end of file diff --git a/core/src/components/segment/test/spec/index.html b/core/src/components/segment/test/spec/index.html index c94dc7a929..5bea6a39f0 100644 --- a/core/src/components/segment/test/spec/index.html +++ b/core/src/components/segment/test/spec/index.html @@ -45,7 +45,7 @@ Item Two - + Item Three @@ -184,6 +184,31 @@ + + + + This is some long text + + + Short text + + + This is some long text + + + Short text + + + Short text + + + Medium long text + + + Medium long text + + +