Merge pull request #17 from camunoz2/fix-dropdown

fix: menu dropdown behind hero image
This commit is contained in:
Surjith S M
2023-03-06 08:18:51 +05:30
committed by GitHub

View File

@@ -24,7 +24,7 @@ const { title, lastItem, children } = Astro.props;
<DropdownItems>
<div
class:list={[
"lg:absolute w-full lg:w-48",
"lg:absolute w-full lg:w-48 z-10",
lastItem
? "lg:right-0 origin-top-right"
: "lg:left-0 origin-top-left",