diff --git a/libs/sketch/src/lib/components/dialog/dialog.component.css b/libs/sketch/src/lib/components/dialog/dialog.component.css index de34064..8adb9ce 100644 --- a/libs/sketch/src/lib/components/dialog/dialog.component.css +++ b/libs/sketch/src/lib/components/dialog/dialog.component.css @@ -15,7 +15,7 @@ --sk-dialog-backdrop-blur: 0; } -dialog { +.sk-dialog { width: var(--sk-dialog-width); height: var(--sk-dialog-height); max-width: 100%; @@ -26,13 +26,13 @@ dialog { background-color: transparent; } -dialog:has(::backdrop) { +.sk-dialog:has(::backdrop) { display: flex; justify-content: center; align-items: center; } -dialog::backdrop { +.sk-dialog::backdrop { background: var(--sk-dialog-backdrop); backdrop-filter: blur(var(--sk-dialog-backdrop-blur)); } diff --git a/libs/sketch/src/lib/components/dialog/dialog.component.html b/libs/sketch/src/lib/components/dialog/dialog.component.html index 35a6e3a..05f9932 100644 --- a/libs/sketch/src/lib/components/dialog/dialog.component.html +++ b/libs/sketch/src/lib/components/dialog/dialog.component.html @@ -1,4 +1,5 @@