fixed dropdown

This commit is contained in:
daniel31x13
2024-01-24 16:19:24 -05:00
parent 2901db7035
commit 8534572662
2 changed files with 6 additions and 4 deletions
@@ -67,9 +67,9 @@ export default function LinkActions({
return (
<>
<div
className={`dropdown dropdown-end dropdown-${
flipDropdown ? "top" : "bottom"
} absolute ${position || "top-3 right-3"} z-20`}
className={`dropdown dropdown-left dropdown-end absolute ${
position || "top-3 right-3"
} z-20`}
>
<div
tabIndex={0}
@@ -79,7 +79,7 @@ export default function LinkActions({
>
<i title="More" className="bi-three-dots text-xl" />
</div>
<ul className="dropdown-content z-[20] menu shadow bg-base-200 border border-neutral-content rounded-box w-44 mr-1">
<ul className="dropdown-content z-[20] menu shadow bg-base-200 border border-neutral-content rounded-box w-44 mr-1 translate-y-10">
{permissions === true ? (
<li>
<div