From 8a631af0d22c306e8e019bfd303f740db272029f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Sun, 15 Feb 2026 21:25:20 +0100 Subject: [PATCH] fix: prevent dashboard top-grid cards from overflowing horizontally Increase minimum column width from 280px to 380px so the 3-column Top IPs table fits without clipping. Add overflow/min-width safety net for narrow viewports. Co-Authored-By: Claude Opus 4.6 --- internal/web/templates/layout.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/internal/web/templates/layout.html b/internal/web/templates/layout.html index f32ad1d..3578855 100644 --- a/internal/web/templates/layout.html +++ b/internal/web/templates/layout.html @@ -29,9 +29,13 @@ } .top-grid { display: grid; - grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); + grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 1rem; } + .top-grid article { + overflow: hidden; + min-width: 0; + } nav h1 { margin: 0; }