From cab69fa42a2fa3fe1a1edd5d9d675efb0eb4a6b3 Mon Sep 17 00:00:00 2001 From: Karibhou Date: Thu, 5 Nov 2026 14:51:22 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20keep=20navigation=20label?= =?UTF-8?q?=20visible=20on=20phones?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hive-Run: hivecommons/hive#16690 Hive-Plan: phone navigation label Hive-Spec: issue-16690#phone-navigation-label Signed-off-by: Karibhou --- changelog.d/fixed-phone-navigation-label.md | 1 + src/pkg/dashboard/static-src/css/agent-detail.css | 2 +- src/pkg/dashboard/static/index.html | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 changelog.d/fixed-phone-navigation-label.md diff --git a/changelog.d/fixed-phone-navigation-label.md b/changelog.d/fixed-phone-navigation-label.md new file mode 100644 index 0000000000..58f71fbd0b --- /dev/null +++ b/changelog.d/fixed-phone-navigation-label.md @@ -0,0 +1 @@ +- Keep the dashboard navigation button label visible on phone-sized screens. diff --git a/src/pkg/dashboard/static-src/css/agent-detail.css b/src/pkg/dashboard/static-src/css/agent-detail.css index e06e8b40e9..ea2a7cb208 100644 --- a/src/pkg/dashboard/static-src/css/agent-detail.css +++ b/src/pkg/dashboard/static-src/css/agent-detail.css @@ -330,7 +330,7 @@ .oc-topbar-right { grid-column: auto; flex-wrap: wrap; } .widget-dl { display: none; } #oc-project-name { display: none; } - .oc-topbar .nav-chip--action .nav-chip__label, + .oc-topbar .nav-chip--action:not(#oc-drawer-toggle) .nav-chip__label, .oc-topbar .nav-chip--primary .nav-chip__label { display: none; } /* keep the pill one line so the right group wraps as a unit instead of being clipped at the viewport edge */ diff --git a/src/pkg/dashboard/static/index.html b/src/pkg/dashboard/static/index.html index 9c073facbf..7a98f367fe 100644 --- a/src/pkg/dashboard/static/index.html +++ b/src/pkg/dashboard/static/index.html @@ -929,7 +929,7 @@ .oc-topbar-right { grid-column: auto; flex-wrap: wrap; } .widget-dl { display: none; } #oc-project-name { display: none; } - .oc-topbar .nav-chip--action .nav-chip__label, + .oc-topbar .nav-chip--action:not(#oc-drawer-toggle) .nav-chip__label, .oc-topbar .nav-chip--primary .nav-chip__label { display: none; } /* keep the pill one line so the right group wraps as a unit instead of being clipped at the viewport edge */