Skip to content

Commit

Permalink
Fix Interactivity on OSS Dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
elrickvm committed Sep 16, 2024
1 parent 37fbd01 commit cd1b1e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 4 additions & 3 deletions components/project-select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,11 @@ export function ProjectSelect() {
}
`}
</style>

<input type="checkbox" class="hidden" id={toggleId} checked />
<label id={openerId} style="position: relative;" for={toggleId}>
<label id={openerId} style="position: relative; cursor: pointer;" for={toggleId}>
Open Source
<aside class="z-10 absolute m-4 rounded-md">
<aside class="z-20 absolute m-4 rounded-md">
<h4 class="p-2.5 min-w-max font-normal text-center text-sm uppercase">
Open Source Projects
</h4>
Expand All @@ -66,7 +67,7 @@ export function ProjectSelect() {

<label
id={closerId}
class="z-50 absolute inset-0 hidden w-screen h-screen"
class="z-10 absolute inset-0 hidden w-screen h-screen"
for={toggleId}
/>
</>
Expand Down
2 changes: 0 additions & 2 deletions deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cd1b1e8

Please sign in to comment.