KhronosGroup / KhronosGroup/Vulkan-Site

[BUG] Mobile header layout bug

Open
#164 6 comments 0 reactions 1 assignee Claimed by @gpx1000 View on GitHub
Dominant language
JavaScript
Stars
46
Forks
10
Avg merge
12d 2h
Merged PRs (30d)
6

Description

**Does the issue belong in this repository?**

Yes

**Describe the bug**

On mobile devices, the header lacks sufficient horizontal space to display all its contents. As a result, part of the search bar and the hamburger menu in the top-right corner are pushed off-screen.

In addition, the light-dark theme toggle is also at a weird spot that does not align with the underlying toolbar.

**To Reproduce**
Either open [docs.vulkan.org](https://docs.vulkan.org) on a device with a small screen, or open it via the browser's responsive design mode

**Expected behaviour**
The website has a mobile-friendly layout where all header elements are visible and properly aligned

**Screenshots**

![Image](https://github.com/user-attachments/assets/95535447-40e3-40dc-89d6-4ad6fa54ea50)

**Smartphone:**
- Device: Samsung Galaxy S24
- OS: Android
- Browser: Firefox for Android, Chrome
- Version [e.g. 22]

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.