From 8d4aceb4e7b509a41832c10d058b10284685c1ef Mon Sep 17 00:00:00 2001 From: leon Date: Mon, 3 Aug 2026 16:14:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AE=A2=E6=88=B7=E8=A1=A8?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/customers/map.html | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/templates/customers/map.html b/templates/customers/map.html index fd0ad22..a89a7d0 100644 --- a/templates/customers/map.html +++ b/templates/customers/map.html @@ -9,7 +9,8 @@ .map-wrapper { display: flex; gap: 20px; - min-height: 600px; + height: 600px; + align-items: stretch; } .map-container { flex: 1; @@ -19,7 +20,7 @@ } #customer-map { width: 100%; - height: 600px; + height: 100%; } .customer-list-panel { width: 320px; @@ -109,13 +110,16 @@ @media (max-width: 992px) { .map-wrapper { flex-direction: column; + height: auto; + } + .map-container { + height: 400px; + flex: none; } .customer-list-panel { width: 100%; - max-height: 300px; - } - #customer-map { - height: 400px; + height: 300px; + flex: none; } }