cloudflare / workers.cloudflare.com

The Cloudflare Workers website.
https://workers.cloudflare.com
144 stars 36 forks source link

Fix responsiveness and mobile friendliness #252

Closed jackpittenger closed 4 months ago

jackpittenger commented 4 months ago

WP-974

The current version of https://workers.cloudflare.com/ has two main issues:

  • The navbar's flexboxes are improperly setup leading to many overlapping elements, leading to visual issues and many edge cases

  • The current code for responsiveness does not maintain proper width, leading to large amounts of whitespace on the right side. This makes the site not mobile (or even laptop) friendly.

old_responsive.gif shows the current issues new_responsive.gif shows the new version I wrote

old_responsive new_responsive