From 0b5d290d307e5f235df7f03eaa51921813b9b59c Mon Sep 17 00:00:00 2001 From: jump-and-jump <984292420@qq.com> Date: Mon, 28 Apr 2025 18:49:15 +0800 Subject: [PATCH] style: The search panel exceeds the entire page (#302) --- src/components/Search.svelte | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/Search.svelte b/src/components/Search.svelte index 67bac2ef..584f79ef 100644 --- a/src/components/Search.svelte +++ b/src/components/Search.svelte @@ -123,4 +123,8 @@ top-20 left-4 md:left-[unset] right-4 shadow-2xl rounded-2xl p-2"> input:focus { outline: 0; } + .search-panel { + max-height: calc(100vh - 100px); + overflow-y: auto; + }