From c5cd58e151111c7b37deb3701979bcde03dad2e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BF=85=E8=86=80?= Date: Sat, 17 Oct 2026 12:34:08 +0800 Subject: [PATCH] fix(console): keep topbar tools clear of very narrow headings Below 360px, place the full-width heading beneath the breadcrumb and utility row so the three top-right buttons cannot overlap it. --- app/components/ConsolePage.vue | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/app/components/ConsolePage.vue b/app/components/ConsolePage.vue index 326fc7f..b132339 100644 --- a/app/components/ConsolePage.vue +++ b/app/components/ConsolePage.vue @@ -1274,4 +1274,32 @@ async function onDeleteGroup(group: Group): Promise { width: min(100% - 1.25rem, 1240px); } } +@media (max-width: 360px) { + /* Too narrow to share a row with the tools: the breadcrumb sits beside + them and the title takes the full width below. */ + .console-topbar { + row-gap: 0.3rem; + } + .console-heading { + display: contents; + } + .console-kicker { + grid-column: 1; + grid-row: 1; + align-self: center; + } + .console-topbar h1 { + grid-column: 1 / -1; + grid-row: 2; + margin: 0; + } + .console-utilities { + grid-column: 2; + grid-row: 1; + } + .console-actions { + grid-row: 3; + margin-top: 0.45rem; + } +}