From d89f9abb44264986c6c8bb73335a439b1e3635e2 Mon Sep 17 00:00:00 2001 From: leon Date: Mon, 3 Aug 2026 16:34:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + templates/customers/map.html | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 2b665d3..5f15800 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ staticfiles/ media/ *.log .DS_Store +debug/ diff --git a/templates/customers/map.html b/templates/customers/map.html index 87262b3..6d2c9c3 100644 --- a/templates/customers/map.html +++ b/templates/customers/map.html @@ -10,10 +10,10 @@ display: flex; gap: 20px; height: 600px; - align-items: stretch; } .map-container { flex: 1; + height: 600px; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.08); @@ -24,6 +24,7 @@ } .customer-list-panel { width: 320px; + height: 600px; flex-shrink: 0; background: #fff; border-radius: 12px; @@ -31,7 +32,6 @@ overflow: hidden; display: flex; flex-direction: column; - min-height: 0; } .customer-list-header { padding: 16px 20px; @@ -50,12 +50,12 @@ margin-left: 8px; } .customer-list { - flex: 1; + flex: 1 1 auto; overflow-y: auto; list-style: none; padding: 0; margin: 0; - min-height: 0; + height: 0; } .customer-list li { padding: 14px 20px;