Skip to content

Commit

Permalink
fix(style): modal styles not work occasionally in development mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
xyhp915 committed Apr 28, 2021
1 parent bed22b5 commit 2e00bec
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/main/frontend/ui.css
Expand Up @@ -57,9 +57,13 @@
}

.ui__modal {
@apply fixed bottom-0 inset-x-0
sm:inset-0 sm:flex sm:items-center sm:justify-center
px-4 pb-4;
@apply fixed bottom-0 inset-x-0 px-4 pb-4;

@screen sm {
& {
@apply inset-0 flex items-center justify-center;
}
}

&-overlay {
@apply fixed inset-0 transition-opacity;
Expand Down

0 comments on commit 2e00bec

Please sign in to comment.