From 1cad0fea94796a196b8467a82a2169d2bbf822a8 Mon Sep 17 00:00:00 2001 From: Adam Ladachowski Date: Sat, 14 Feb 2026 03:29:49 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=AC=20Commit=20message:=20Update=20202?= =?UTF-8?q?6-02-14=2003:29:49,=201=20files,=2021=20lines?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 📁 Files changed: 1 📝 Lines changed: 21 • index.html --- tensors/server/static/index.html | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/tensors/server/static/index.html b/tensors/server/static/index.html index e0db58a..d0262a8 100644 --- a/tensors/server/static/index.html +++ b/tensors/server/static/index.html @@ -46,9 +46,24 @@ /* Main content */ .main { flex: 1; display: flex; flex-direction: column; overflow: hidden; } - /* Views */ - .view { display: none; flex: 1; flex-direction: column; overflow: hidden; } - .view.active { display: flex; } + /* Views - only one visible at a time */ + .view { + display: none !important; + flex: 1; + flex-direction: column; + overflow: hidden; + position: absolute; + visibility: hidden; + height: 0; + width: 0; + } + .view.active { + display: flex !important; + position: relative; + visibility: visible; + height: auto; + width: auto; + } /* Gallery view */ #gallery-view { overflow-y: auto; }