[Hotfix] Unwrap text on topbar sort options #1981
Closed
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.
Purpose
The purpose of these changes was to remove wrapping text in the topbar sort dropdown option selection.
Summary of Changes
white-space:no-wrap
was added to the sort dropdown local class selectorScreenshot(s)
Figure 1: Corrected sort dropdown text wrap on desktop view
Figure 2: Corrected dropdown text on mobile/tablet
Side Effects
There should be no formal side-effects, but this may displace the topbar UI if not properly implemented.
QA Notes
-Do the elements properly display? Is there any text wrapping taking place on any of the options?
-A negative margin can correct the placement of the right dropdown arrow but this is not recommended practice; is there no excessive overlap currently with the button?