From 644c54a6f6a4f21811472cfc32138e986ee41d93 Mon Sep 17 00:00:00 2001 From: nessi Date: Fri, 14 Aug 2026 11:10:01 +0200 Subject: [PATCH] feat: refactor disk name layout to use CSS Grid with icon spanning both rows and add disk path support Change disk-name from flex to grid layout with 2-column template (20px icon + flexible content). Update ::before icon to span both rows using grid-row:1/span 2 with zero margin. Add grid-template-rows auto/auto with conditional single row when disk-path is missing. Style disk-path in column 2 row 2 with nowrap and hide when empty. Set min-width:92px and line-height:1.1 for consistent sizing. --- templates/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/index.html b/templates/index.html index 61e0e35..df5d280 100644 --- a/templates/index.html +++ b/templates/index.html @@ -46,7 +46,7 @@ let autoScanTimer=null;function configureAutoScan(){if(autoScanTimer)clearInterv if('serviceWorker' in navigator)window.addEventListener('load',()=>navigator.serviceWorker.register('/static/sw.js').catch(()=>{}));