From 500ad347ee92d233f026cd3bcba1c1e1aa240f52 Mon Sep 17 00:00:00 2001 From: haerikimmm Date: Mon, 15 Jun 2026 17:15:51 +0900 Subject: [PATCH] changed the collapsible panel to top centered layout with consistent ui style --- src/App.svelte | 1 + src/lib/layout/Layout.svelte | 6 +- src/lib/world-map/StatsPanel.svelte | 390 ++++++++++++---------------- 3 files changed, 172 insertions(+), 225 deletions(-) diff --git a/src/App.svelte b/src/App.svelte index 0f7cc2f..4baef68 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -38,6 +38,7 @@ flex-direction: row; min-width: 0; height: 100%; + position: relative; } .map-area { diff --git a/src/lib/layout/Layout.svelte b/src/lib/layout/Layout.svelte index ea23cf4..90849fa 100644 --- a/src/lib/layout/Layout.svelte +++ b/src/lib/layout/Layout.svelte @@ -1,6 +1,5 @@ @@ -12,7 +11,6 @@
{@render children()}
-