fix: menu dropdown behind hero image

This commit is contained in:
Cristian
2023-03-05 15:19:27 -03:00
parent 591a56d372
commit dc97d29d0d

View File

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