Skip to content

Commit

Permalink
fix: Add relative positioning to make the Preset buttons clickable in…
Browse files Browse the repository at this point in the history
… Safari Technology Preview
  • Loading branch information
sevenseacat committed Jan 21, 2025
1 parent 5064742 commit 68ecdbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ash_hq_web/templates/home/home.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -128,15 +128,15 @@
<span
id={"quickstart-#{value}-inactive"}
data-name={value}
class="inactive-quickstart rounded px-4 py-2 border border-primary-dark-500/40 hover:bg-primary-dark-900/50 cursor-pointer"
class="inactive-quickstart relative rounded px-4 py-2 border border-primary-dark-500/40 hover:bg-primary-dark-900/50 cursor-pointer"
onclick={"window.quickStartClicked(this, 'quickstart-#{value}-active', true)"}
>
{name}
</span>
<span
id={"quickstart-#{value}-active"}
data-name={value}
class="active-quickstart hidden rounded px-4 py-2 border border-primary-dark-500/40 bg-primary-dark-500/80 cursor-pointer"
class="active-quickstart relative hidden rounded px-4 py-2 border border-primary-dark-500/40 bg-primary-dark-500/80 cursor-pointer"
onclick={"window.quickStartClicked(this, 'quickstart-#{value}-inactive', false)"}
>
{name}
Expand Down

0 comments on commit 68ecdbb

Please sign in to comment.