Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix top script menu overflow on small screens
On very small screens (that can be tested with iPhone SE size), the `All` button overflows. This makes E2E tests fail with width like `320px`. This commit fixes the issue by removing `whitespace: no-break` but employing simpler and self-documenting layout. Key changes: - Simplify scripts menu layout instead of relying on `white-space: nowrap`. - Increase gap when script menu items starts wrapping to avoid "squeezed" look. Other supporting changes: - Simplify gaps by using `column-gap` and `row-gap` properties rather than calculating margins. - Use class-based styling instead of using `id`. - Use more clear, consistent CSS class naming with prefixes in `TheScriptsMenu` to improve maintainability. - Introduce `center-middle-flex-item` mixin for better documenting the code.
- Loading branch information