single pixel gap in nav dropdown
dipamsen opened this issue · 6 comments
Hi @dipamsen, I can't seem to reproduce the behaviour. I took screenshots in Safari and Chrome browsers and don't see the behaviour you observed.
Here's a screenshot in Safari browser:
And here's a screenshot in Chrome browser:

I can't reproduce it on a mac either! Not sure how to best approach this but open to suggestions, thanks for finding this @dipamsen!
Same, can't reproduce on macOS (Chrome, Firefox and Safari) 🤷
(The menu font looks bad too! Mismatched height between characters...)
Would be interesting to know if all Windows users are experiencing this, or if it's just your setup.
Some thoughts and ideas to explore:
- Could it be linked to the pixel density of your display? We're most likely all on retina displays (over 200 PPI) on mac, which may be why we don't see the same thing as you.
- Are you scaling the display or text at the OS level? (accessibility features)
- Are you using your display's native resolution or are your slightly below/above? That could explain the subpixel/blurry stuff happening, and the gap could be related.
- GPU drivers?
In your original screenshot, the hairline borders at the bottom (which should be 1px solid) seem to misalign at the subpixel level and the red one is anti-aliasing (lighter at the bottom).
The baseline for the menu buttons is 50px on the site, so the actual pixel size on display should be a factor of 50. I don't know if you upscaled your later screenshots, but the butons seem to be at a height of ~120px. Makes me think my points 2 and/or 3 could be at play?
All my previous screenshots were taken after zooming in (magnification via touchpad on chrome, not sure what this feature exactly is called). Here are the same page screenshots without any zooming:
Home Page
Showcase Guide Page
Weirdly, in these images the menu height seems to be ~60px? I don't know if windows is doing some additional enhancement on the image after taking the screenshots.
Found the culprit: Apparently, on windows 11, the default scale is 125% with the resolution set to 1920x1080:








