Closed sophiamersmann closed 3 weeks ago
This stack of pull requests is managed by Graphite. Learn more about stacking.
Join @sophiamersmann and the rest of your teammates on Graphite
Quick links (staging server): Site | Admin | Wizard |
---|
Login: ssh owid@staging-site-grapher-controls
Edited: 2024-06-10 12:14:38 UTC Execution time: 1.27 seconds
Keeps controls from overflowing on smaller screens. See screenshots 👇🏻
The "Show selection only" toggle on the table tab is moved into the settings drawer. The rest are just CSS touchups.
We compute the widths of the content switchers and the toggle to determine if there is enough space for the table toggle. I could have implemented this in a simpler way using breakpoints, but I wanted to make sure that we only hide the table toggle if absolutely necessary.