Skip to content

Commit 18cfda3

Browse files
committed
fix: bring back dialog content padding
Tailwind 3.3.3 introduced a change by which the default user agent dialog element padding is reset to none: tailwindlabs/tailwindcss#11069 This caused the dialog to consistently not display as intended accross browsers. To fix that, let's manually set the padding to the one we expected.
1 parent 4ecf0a9 commit 18cfda3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/Dialog.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const { id, ...props } = Astro.props;
1515

1616
<style lang="scss">
1717
dialog {
18-
@apply rounded-md bg-amber-50 opacity-0 shadow-2xl transition-opacity duration-1000;
18+
@apply rounded-md p-4 bg-amber-50 opacity-0 shadow-2xl transition-opacity duration-1000;
1919
}
2020

2121
dialog[open] {

0 commit comments

Comments
 (0)