From 64dcce3d0ee5531b5fe3672dfa7c22cafbc07e4d Mon Sep 17 00:00:00 2001 From: Prophet731 Date: Thu, 19 Mar 2026 14:11:04 -0500 Subject: [PATCH] fix: constrain category header icon images with overflow:hidden and max dimensions Co-Authored-By: Claude Opus 4.6 (1M context) --- .../servers/VirtFusionDirect/templates/css/module.css | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/modules/servers/VirtFusionDirect/templates/css/module.css b/modules/servers/VirtFusionDirect/templates/css/module.css index 58ba6a1..1e958cb 100644 --- a/modules/servers/VirtFusionDirect/templates/css/module.css +++ b/modules/servers/VirtFusionDirect/templates/css/module.css @@ -269,6 +269,8 @@ .vf-os-category-icon { width: 28px; height: 28px; + min-width: 28px; + min-height: 28px; border-radius: 6px; display: flex; align-items: center; @@ -277,10 +279,13 @@ font-weight: 700; font-size: 0.85rem; flex-shrink: 0; + overflow: hidden; } .vf-os-category-icon img { - width: 18px; - height: 18px; + max-width: 100%; + max-height: 100%; + width: auto; + height: auto; object-fit: contain; } .vf-os-category-arrow {