From c0d7b2e5c14f8d42f9d18f8e178f39281e165534 Mon Sep 17 00:00:00 2001 From: Sai Udayagiri Date: Sun, 6 Dec 2026 02:22:36 +0530 Subject: [PATCH] fix(website): widen ecosystem columns so adjacent names do not touch Columns of the homepage ecosystems chart could shrink to 80px, but a 10 character name in 14px Overpass Mono is about 84px wide. Adjacent long names ("Chainguard" and "CleanStart") overflowed their columns and ran into each other. Raise the minimum column width to 96px. Co-Authored-By: Claude Fable 5.2 --- website/frontend3/src/styles.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/frontend3/src/styles.scss b/website/frontend3/src/styles.scss index 1c98da5b52b..2bba81607eb 100644 --- a/website/frontend3/src/styles.scss +++ b/website/frontend3/src/styles.scss @@ -1620,15 +1620,15 @@ osv-tabs.vulnerability-packages[affordance="collapse"] { display: grid; grid-template-rows: $ecosystem-name-height $ecosystem-count-wrapper-height; grid-column-gap: 4px; - // Indeterminate number of columns of minimum 80px width. - grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); + // Indeterminate number of columns of minimum 96px width, enough for a 10 character name. + grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); // Force columns outside of available space to overflow. // These do not use the value set in grid-template-columns, so set it. overflow-x: auto; overflow-y: hidden; /* Hide vertical scrollbar */ grid-auto-flow: column; - grid-auto-columns: minmax(80px, 1fr); + grid-auto-columns: minmax(96px, 1fr); padding-bottom: 12px; /* Custom scrollbar styling */