Skip to content

Commit

Permalink
Fix button z-index
Browse files Browse the repository at this point in the history
  • Loading branch information
T-Damer committed Aug 1, 2024
1 parent c9e2ffe commit 1e76aeb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/FloatingChatButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default function () {
return (
<>
<button
className="flex items-center justify-center rounded-full disabled:bg-opacity-40 bg-primary-bright hover:bg-primary-dark active:bg-hat drop-shadow-xl transition-colors fixed left-4 md:left-10 bottom-5 h-12 w-10 md:h-24 md:w-20 md:text-4xl"
className="flex items-center z-20 justify-center rounded-full disabled:bg-opacity-40 bg-primary-bright hover:bg-primary-dark active:bg-hat drop-shadow-xl transition-colors fixed left-4 md:left-10 bottom-5 h-12 w-10 md:h-24 md:w-20 md:text-4xl"
onClick={() => setModalOpen(true)}
>
💬
Expand Down
2 changes: 1 addition & 1 deletion src/components/FloatingGmButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default function () {
return (
<>
<button
className="flex items-center justify-center rounded-full disabled:bg-opacity-40 bg-yellow-200 disabled:bg-yellow-500 fixed right-4 md:right-10 bottom-5 h-12 w-10 md:h-24 md:w-20 md:text-4xl gm-button"
className="flex z-20 items-center justify-center rounded-full disabled:bg-opacity-40 bg-yellow-200 disabled:bg-yellow-500 fixed right-4 md:right-10 bottom-5 h-12 w-10 md:h-24 md:w-20 md:text-4xl gm-button"
onClick={() => setModalOpen(true)}
>
🔥
Expand Down

0 comments on commit 1e76aeb

Please sign in to comment.