
Design Engineer
Web
Chrome Dev Tools
5 mins
Before & After
This is the nav bar UI bug, corrected with simple math in real time. The whole change is a single radius value. The hard part was never the fix, it was noticing it.


Correct outer radius = 0.75 + 0.5 = 1.25rem
Why does the current nav bar look off?
For nested corners to sit right, the outer radius should equal the inner radius plus the padding between them. Matching the formula is the entire fix.
How to actually fix it?
I know this is a small fix, but I think details like this compound, and I wanted to make a real fix to a product I actually use and believe in.
— Written in Wispr Flow
