🐛 fix: fix the header height calculation issue in the custom HTML styles on the homepage

This commit is contained in:
t0ng7u
2025-07-04 23:42:46 +08:00
parent 6ac7878863
commit d191eef657

View File

@@ -272,10 +272,7 @@ const Home = () => {
className="w-full h-screen border-none" className="w-full h-screen border-none"
/> />
) : ( ) : (
<div <div className="mt-[64px]" dangerouslySetInnerHTML={{ __html: homePageContent }} />
className="text-base md:text-lg p-4 md:p-6 lg:p-8 overflow-x-hidden max-w-6xl mx-auto"
dangerouslySetInnerHTML={{ __html: homePageContent }}
></div>
)} )}
</div> </div>
)} )}