From 0c2ea77b20cfdc1e5629e0daf4b16d4941459c45 Mon Sep 17 00:00:00 2001 From: Mczubi Date: Wed, 7 Oct 2026 18:58:54 +0000 Subject: [PATCH 1/2] fix(ui): prevent horizontal overflow on mobile for login, history and templates - data tables in mobile (stacked) mode: allow values to wrap, lay rows out as blocks so long unbreakable values no longer widen the table, and keep row padding consistent (global App.vue styles) - history: let mobile rows grow instead of the fixed 60px row height - login: card follows the viewport width with a small margin on phones - template view: icon-only Stop/Run buttons and name-only title on xs so the toolbar actions stay on screen --- web/src/App.vue | 36 ++++++++++++++++++++++++ web/src/views/Auth.vue | 22 +++++++++++++-- web/src/views/project/History.vue | 9 +++++- web/src/views/project/TemplateView.vue | 38 +++++++++++++++++++++----- 4 files changed, 95 insertions(+), 10 deletions(-) diff --git a/web/src/App.vue b/web/src/App.vue index 92d0a41532..509689d0f2 100644 --- a/web/src/App.vue +++ b/web/src/App.vue @@ -845,6 +845,42 @@ html.WorkflowEditor-html body { & > td { white-space: nowrap; } + + // Mobile (stacked) rows: long values must wrap instead of pushing the + // value column past the viewport edge. + & > td.v-data-table__mobile-row { + white-space: normal; + padding-left: 16px !important; + padding-right: 16px !important; + } + } + + // Stacked (mobile) rows are not a real grid. In table layout, unbreakable + // values (paths, URLs) set the table's min width and push the values past + // the viewport, so lay the rows out as blocks that follow the page width. + &.v-data-table--mobile > .v-data-table__wrapper > table { + display: block; + + & > thead, + & > tbody, + & > tbody > tr, + & > thead > tr { + display: block; + } + + & > colgroup { + display: none; + } + } + + .v-data-table__mobile-row__header { + flex-shrink: 0; + padding-right: 12px; + } + + .v-data-table__mobile-row__cell { + min-width: 0; + overflow-wrap: break-word; } } diff --git a/web/src/views/Auth.vue b/web/src/views/Auth.vue index 8495144423..c2fd970be5 100644 --- a/web/src/views/Auth.vue +++ b/web/src/views/Auth.vue @@ -47,14 +47,14 @@ - +