-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[4.0.0-beta.17] ion-segment-button edges out when button number > 4 #16732
Comments
would you mind sharing a screenshot? |
Segment has been updated to match the Material Design spec. If you have so many buttons that it overflows, we recommend using the And here is a codepen where I am editing the segment using CSS to make it fit more and achieve your specific use case: https://codepen.io/brandyscarney/pen/pqyPJB?editors=1100 |
Thanks, the CSS works fine for me |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
Bug Report
Ionic version:
[x] 4.x
Current behavior:
ion-segment-buttons edges out on both side of tool bar when you have more than 4 ion-segment-buttons. this dose not happen on 4.0.0-beta15
Expected behavior:
all the ion-segment-buttons should be displayed in the toolbar
Steps to reproduce:
initiate an Ionic project with the starter
copy paste the following code snippts under ion-header sector of the home page
Related code:
Other information:
Ionic info:
The text was updated successfully, but these errors were encountered: