louislam/uptime-kuma

Navbar in mobile view has broken navbar position when on the list tab

Open

#5,977 建立於 2025年7月11日

在 GitHub 查看
 (13 留言) (0 反應) (1 負責人)JavaScript (86,760 star) (7,844 fork)batch import
A:ui/uxbuggood first issue

描述

📑 I have found these related issues/pull requests

none

🛡️ Security Policy

📝 Description

The following piece of html in the app causes the navbar to go out of sight in (at least) Chrome and Firefox.

filter-dropdown-menu is pre-rendered to go out of bounds for labels.

It seems the dropdown pushes into overflow with labels that are too long.(?) It doesn't seem to maintain a margin from the right of the viewport.

https://github.com/user-attachments/assets/e66f2a56-976f-4748-9752-3b9ba789d282

This only happens when the labels get to big. I tried reproducing but couldn't figure why it didn't happen in an old instance (Docker) untill I added the label: Local IP Address to make 4 labels total and gave the label a long name.

👟 Reproduction steps

Open Uptime Kuma on a mobile device (or with small enough resolution in Chrome with devtools open).

👀 Expected behavior

The lists tab should not move down the navbar and cause overflow issues.

😓 Actual Behavior

The lists tab does cause the navbar to move down and causes overflow issues.

🐻 Uptime-Kuma Version

1.23.16

💻 Operating System and Arch

LXC (Proxmox via Community Scripts) and also a LXC with Docker containing this container

🌐 Browser

Shows in Chrome and Firefox (latest)

🖥️ Deployment Environment

n/a

📝 Relevant log output

貢獻者指南

Navbar in mobile view has broken navbar position when on the list tab · louislam/uptime-kuma#5977 | Good First Issue