You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On narrow widths, the top bar buttons hide their labels and just show their icons. On medium widths, the text unexpectedly wraps. This produces a janky and undesirable result:
The labels should be hidden instead.
The text was updated successfully, but these errors were encountered:
Yeah I noticed this a few times too... What's really supposed to happen is that the labels go away.
The buggy code is in here - probably because whatever browser is not calculating the widths correctly, or caching incorrectly whatever it thinks is the _needWidth value.
We can't really use a media query like I originally thought - because the header width depends on the width of the map, which depends on the width of the sidebar, not the width of the window.
@bhousel Thanks for pointing to the code! The issue was that when the buttons wrapped, they weren't contributing enough to the bar's scrollWidth property to trigger the class change. white-space: nowrap; fixed it.
On narrow widths, the top bar buttons hide their labels and just show their icons. On medium widths, the text unexpectedly wraps. This produces a janky and undesirable result:
The labels should be hidden instead.
The text was updated successfully, but these errors were encountered: