From b2523c25b1be01ae4c62310d7e5d190a6bf36142 Mon Sep 17 00:00:00 2001 From: anime Date: Thu, 9 Jan 2025 01:44:46 +0800 Subject: [PATCH] =?UTF-8?q?fix(algoliasearch=E6=A0=B7=E5=BC=8F=E6=BA=A2?= =?UTF-8?q?=E5=87=BA=E9=97=AE=E9=A2=98):?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit cc43cc300385534a0015c3e45f7a32649f40430f) Fix #2340 --- components/AlgoliaSearchModal.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/AlgoliaSearchModal.js b/components/AlgoliaSearchModal.js index 4a84c5aa..f398c461 100644 --- a/components/AlgoliaSearchModal.js +++ b/components/AlgoliaSearchModal.js @@ -246,12 +246,12 @@ export default function AlgoliaSearchModal({ cRef }) { id='search-wrapper' className={`${ isModalOpen ? 'opacity-100' : 'invisible opacity-0 pointer-events-none' - } z-30 fixed h-screen w-screen left-0 top-0 sm:mt-12 flex items-start justify-center mt-0`}> + } z-30 fixed h-screen w-screen left-0 top-0 sm:mt-[10vh] flex items-start justify-center mt-0`}> {/* 模态框 */}
+ } max-h-[80vh] flex flex-col justify-between w-full min-h-[10rem] h-full md:h-fit max-w-xl dark:bg-hexo-black-gray dark:border-gray-800 bg-white dark:bg- p-5 rounded-lg z-50 shadow border hover:border-blue-600 duration-300 transition-all `}>
搜索