Skip to content

Commit 5aa4064

Browse files
committed
use backdrop: selector
1 parent 5f547bd commit 5aa4064

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.preview/src/env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
import '../.astro/types.d.ts'
1+
/// <reference path="../.astro/types.d.ts" />

eslint.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export default tseslint.config(
2323
rules: {
2424
'functional/prefer-immutable-types': 'warn',
2525
'no-unused-vars': 'off',
26+
'@typescript-eslint/triple-slash-reference': 'warn',
2627
},
2728
},
2829
{

src/ui/components/Modal.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,9 @@ html:has(dialog[open]) {
4646
<div>
4747
<dialog
4848
ref="dialog"
49-
class="fixed inset-0 flex items-center justify-center overflow-y-auto"
49+
class="fixed inset-0 flex items-center justify-center overflow-y-auto backdrop:bg-black/60"
5050
:class="{ hidden: !isVisible }"
5151
>
52-
<div class="fixed inset-0 bg-black/60"></div>
5352
<Transition>
5453
<div class="relative m-auto w-full py-4">
5554
<component

0 commit comments

Comments
 (0)