Skip to content

Commit

Permalink
Fix Popover style in dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
jacogasp committed Nov 15, 2024
1 parent 5c5a7bb commit 46205f2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default function ConfirmButton(props: Readonly<ConfirmButtonProps>) {
<>
<button
type="button"
className="popover-option text-primary"
className="popover-option"
onClick={open}
>
Approve Group Request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default function ConfirmButton(props: Readonly<ConfirmButtonProps>) {
<>
<button
type="button"
className="popover-option text-primary"
className="popover-option"
onClick={open}
>
Accept User
Expand Down
2 changes: 1 addition & 1 deletion src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
}

.popover-option {
@apply whitespace-nowrap bg-gray-100 p-2 hover:bg-gray-200/50;
@apply whitespace-nowrap p-2 text-start hover:bg-gray-200/50;
}

.combobox {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Options/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default function Options(props: Readonly<OptionsProps>) {
</PopoverButton>
<PopoverPanel
anchor="bottom"
className="flex flex-col rounded-lg bg-gray-50 shadow"
className="flex flex-col rounded-lg bg-gray-50 shadow dark:bg-white/10 dark:backdrop-blur-lg"
>
{children}
</PopoverPanel>
Expand Down

0 comments on commit 46205f2

Please sign in to comment.