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`}> {/* 模态框 */}