fix: changed flex-direction for rbc-toolbar mobile #2497
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This request is to add in a css change that helps fix toolbar wrapping when the display is too small. This issue was brought up here - #1699. This should help cleanup some undesirable toolbar displays for mobile users.
Bellow are some screenshots that show the issue I was describing. On mobile devices, if the selected date is too long then it will get wrapped beneath the "Today, Back, Next" buttons. This change will stack these three elements in a column for smaller display widths which helps it to look cleaner and prevents the button positions from shifting while scrolling through dates using the "next" button. Essentially, it will make all cases look like the second picture regardless of date length.