KhronosGroup / Vulkan-Site

Vulkan Documentation Project framework for integrated documentation site with spec, proposals, guide, and more
Other
25 stars 2 forks source link

Vulkan logo causes whole navbar to be garbled on firefox #17

Closed JakeMerdichAMD closed 1 year ago

JakeMerdichAMD commented 1 year ago

On firefox (windows 115.0.2), the navbar is very garbled, which means search is unusable.

image image

This seems to be running afoul of this firefox bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1339115

The gist is that the 100% height of the logo is causing firefox to calculate its minimum width as much larger than it should be and causing all other items to shrink dramatically. A workaround is to use an equivalent explicit height (ie. 2.5rem) via css instead of 100%.

oddhack commented 1 year ago

@JakeMerdichAMD is this still happening for you on the current docs.vulkan.org site? It looks OK in 103.13.0esr on Debian, for me. If it's fixed, please close this.

JakeMerdichAMD commented 1 year ago

Works for me!