From fd088e1b102778abeea33d5c77a92854c9143c91 Mon Sep 17 00:00:00 2001 From: Cam Proudlock Date: Mon, 20 Jul 2026 15:40:29 -0400 Subject: [PATCH] dashboard: fixed recert name height (no grid shift) --- frontend/src/views/ShopfloorDashboard.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/frontend/src/views/ShopfloorDashboard.vue b/frontend/src/views/ShopfloorDashboard.vue index 7d7036c0..1069a6a2 100644 --- a/frontend/src/views/ShopfloorDashboard.vue +++ b/frontend/src/views/ShopfloorDashboard.vue @@ -603,6 +603,13 @@ function handlePhotoError(e) { font-size: 20px; font-weight: 700; line-height: 1.15; + /* Always reserve two lines so a name that wraps does not make its tile + taller and shift the whole grid. Longer names clamp with an ellipsis. */ + height: 2.3em; + display: -webkit-box; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; + overflow: hidden; } .section-title.danger {