Guys help, explain Emil going to Linear in sports terms
Emil Kowalski (@emilkowalski)
We had this long-standing papercut at Linear where the menu items overflow their outer container.
It was hard to fix, or so I thought, because the structure is pretty complicated given all the design details, so a simple overflow: hidden wouldn’t work as it would break the animation.
But today I had an epiphany that we could just use a simple CSS mask and fade the items out.
Here’s a before & after with a zoom on the problem, look at the left edge:
Video
— https://nitter.net/emilkowalski/status/2084610106138726659#m