-
-
Notifications
You must be signed in to change notification settings - Fork 331
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
[Step] make steps wrap by default as intended for single step #397
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This shouldn't be applied when a step as .unstackable
https://fomantic-ui.com/elements/step.html#unstackable
@hammy2899 Done. New fiddle http://jsfiddle.net/v8yrgs6t/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
A huge amount of steps were overflowing the viewport if the amount of steps was not explicit given as classname. It was already intended to wrap (a single step already got
flex-wrap:wrap
), but it was missing for grouping by usingsteps
.This is ignored when
unstackable steps
is used because a possible overflow is wanted behavior.If a step amount is given to the group (
six steps
), the behavior stays as before: Each step will reduce itself to stay inline. (Also part of the testcase below)Testcase
http://jsfiddle.net/v8yrgs6t/
Remove the CSS to see the issue
Screenshot
Before
After
Closes
Semantic-Org/Semantic-UI#4880
Semantic-Org/Semantic-UI#4867
Semantic-Org/Semantic-UI-React#1114