We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac7cefb commit 462e59eCopy full SHA for 462e59e
resources/assets/styles/components/modal.css
@@ -7,5 +7,14 @@
7
@apply .relative .p-8 .bg-white .w-full .max-w-md .m-auto .flex-col .flex;
8
transition: all 250ms ease;
9
margin-top: 15%;
10
+
11
+ /**
12
+ * On tiny phone screens make sure there is a margin on the sides and also
13
+ * center the modal rather than putting it towards the top of the screen.
14
+ */
15
+ @screen smx {
16
+ margin-top: auto;
17
+ width: 90%;
18
+ }
19
}
20
0 commit comments