From 3aa2b91b0557626efb8f5e5c436a7b1b8129232c Mon Sep 17 00:00:00 2001 From: ourongxing Date: Wed, 13 Aug 2025 00:34:35 +0800 Subject: [PATCH] feat: tweak the height of the mobile search modal box --- src/components/common/search-bar/cmdk.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/common/search-bar/cmdk.css b/src/components/common/search-bar/cmdk.css index a0ed142..6a6bf52 100644 --- a/src/components/common/search-bar/cmdk.css +++ b/src/components/common/search-bar/cmdk.css @@ -19,7 +19,7 @@ } [cmdk-list] { - --at-apply: px-3 flex flex-col gap-2 items-stretch h-400px; + --at-apply: px-3 flex flex-col gap-2 items-stretch max-h-[400px] h-[calc(100vh-100px)]; } [cmdk-group-heading] {