Skip to content

Commit

Permalink
fix X button in modal dialog in dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
graue committed Dec 4, 2024
1 parent dcf1a97 commit 73f3e23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/primitives/ModalDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export default function ModalDialog({
<button
onClick={onCancel}
className="absolute top-6 right-3 border-0 bg-transparent
cursor-pointer dark:text-gray-400"
cursor-pointer text-gray-900 dark:text-gray-400"
>
<Icon
label={intl.formatMessage({
Expand All @@ -80,7 +80,7 @@ export default function ModalDialog({
'button to cancel making changes in a dialog',
})}
>
<CancelIcon className="w-5 h-5 text-gray-900" />
<CancelIcon className="w-5 h-5" />
</Icon>
</button>
)}
Expand Down

0 comments on commit 73f3e23

Please sign in to comment.