From c2c70b35e51db6a867bb9b19f676c5d1fd1f9e62 Mon Sep 17 00:00:00 2001 From: posimai Date: Thu, 2 Apr 2026 11:20:21 +0900 Subject: [PATCH] fix: restore service-grid auto-fill columns, station-b header backdrop MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Both station.html and station-b.html: restore .service-grid to display:grid with repeat(auto-fill,minmax(168px,1fr)) — the multi-column layout that was incorrectly changed to flex-column in the previous fix. station-b.html: add dark backdrop-filter panel to #top so clock and hostname text are readable over the binary rain canvas background. --- posimai-dev/station-b.html | 4 ++-- posimai-dev/station.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/posimai-dev/station-b.html b/posimai-dev/station-b.html index 86dbb170..176a9d67 100644 --- a/posimai-dev/station-b.html +++ b/posimai-dev/station-b.html @@ -58,7 +58,7 @@ #app { position:relative;z-index:1;height:100vh;display:grid;grid-template-rows:auto auto 1fr auto;padding:20px;gap:0; } - #top { display:flex;align-items:flex-end;justify-content:space-between;padding-bottom:14px;flex-shrink:0; } + #top { display:flex;align-items:flex-end;justify-content:space-between;padding:10px 16px 14px;flex-shrink:0;background:rgba(8,14,26,0.72);backdrop-filter:blur(16px);border-radius:14px;margin-bottom:4px; } #hostname-area { display:flex;align-items:center;gap:8px; } #status-dot { width:8px;height:8px;border-radius:50%;background:var(--text3); } #status-dot.ok { background:var(--ok); box-shadow:0 0 8px var(--ok); } @@ -115,7 +115,7 @@ .spark-svg { width:100%;height:100%;overflow:visible; } /* services */ - .service-grid { display:flex;flex-direction:column;gap:8px;overflow:auto;flex:1; } + .service-grid { display:grid;grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:8px;overflow-y:auto;flex:1; } .service-card { background:var(--surface2);border:1px solid var(--border2);border-radius:10px;padding:9px 11px;display:flex;flex-direction:column;gap:5px; } .service-card-top { display:flex;align-items:center;justify-content:space-between; } .service-name { font-size:12px;font-weight:600; } diff --git a/posimai-dev/station.html b/posimai-dev/station.html index 8d6db86c..5359605c 100644 --- a/posimai-dev/station.html +++ b/posimai-dev/station.html @@ -125,7 +125,7 @@ .spark-svg { width:100%;height:100%;overflow:visible; } /* services */ - .service-grid { display:flex;flex-direction:column;gap:8px;overflow-y:auto;flex:1; } + .service-grid { display:grid;grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:8px;overflow-y:auto;flex:1; } .service-card { background:var(--surface2);border:1px solid var(--border2);border-radius:11px;padding:12px;display:flex;flex-direction:column;gap:6px; } .service-card-top { display:flex;align-items:center;justify-content:space-between; } .service-name { font-size:13px;font-weight:500; }