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 099dc5a9b3..90ab1790d2 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 */