mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 14:53:45 +02:00
Make modals look sane on phones
This commit is contained in:
@@ -7,5 +7,14 @@
|
|||||||
@apply .relative .p-8 .bg-white .w-full .max-w-md .m-auto .flex-col .flex;
|
@apply .relative .p-8 .bg-white .w-full .max-w-md .m-auto .flex-col .flex;
|
||||||
transition: all 250ms ease;
|
transition: all 250ms ease;
|
||||||
margin-top: 15%;
|
margin-top: 15%;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* On tiny phone screens make sure there is a margin on the sides and also
|
||||||
|
* center the modal rather than putting it towards the top of the screen.
|
||||||
|
*/
|
||||||
|
@screen smx {
|
||||||
|
margin-top: auto;
|
||||||
|
width: 90%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user