fix: black horizontal line sometimes appearing below section (#1510)

This commit is contained in:
Matthieu Jacq 2023-10-26 18:51:14 +02:00 committed by GitHub
parent c2bf3adc24
commit f810d8fbf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ export const HomeSection = ({
</section>
{gradient !== undefined ? (
<div
className={`absolute w-screen bottom-[calc(100vw*tan(6deg))] left-0 h-[30%] ${gradient}`}
className={`absolute w-screen bottom-[calc(100vw*tan(6deg)-1px)] left-0 h-[30%] ${gradient}`}
/>
) : null}
</div>