Skip to content

Commit 7037c56

Browse files
authored
Update Modal.tsx
1 parent ce711a7 commit 7037c56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/stubs/resources/js/Components/Modal.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export default function Modal({
4646
leaveFrom="opacity-100"
4747
leaveTo="opacity-0"
4848
>
49-
<div className="fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity" />
49+
<div className="fixed inset-0 bg-gray-500 dark:bg-gray-900 bg-opacity-75 transition-opacity" />
5050
</TransitionChild>
5151

5252
{/* This element is to trick the browser into centering the modal contents. */}
@@ -67,7 +67,7 @@ export default function Modal({
6767
>
6868
<div
6969
className={classNames(
70-
'inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:w-full',
70+
'inline-block align-bottom bg-white dark:bg-gray-800 rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:w-full',
7171
maxWidthClass,
7272
)}
7373
>

0 commit comments

Comments
 (0)