Skip to content
Snippets Groups Projects
Commit 877fecb1 authored by Gilgard's avatar Gilgard
Browse files

Modals improved on mobile

parent 4541ea0f
No related branches found
No related tags found
1 merge request!71Theme
Pipeline #179014 failed
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<!-- Main modal --> <!-- Main modal -->
<div <div
v-if="visible" v-if="visible"
class="fixed grid place-items-center bg-gray-600 bg-opacity-50 top-0 left-0 right-0 z-50 w-full overflow-x-hidden overflow-y-auto md:inset-0 h-modal md:h-full" class="fixed grid place-items-center bg-gray-600 bg-opacity-50 top-0 left-0 right-0 z-50 w-full overflow-x-hidden overflow-y-auto inset-0 h-full"
> >
<div class="relative w-full h-full max-w-2xl p-4 md:h-auto"> <div class="relative w-full h-full max-w-2xl p-4 md:h-auto">
<!-- Modal content --> <!-- Modal content -->
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<!-- Main modal --> <!-- Main modal -->
<div <div
v-if="visible" v-if="visible"
class="fixed grid place-items-center bg-gray-600 bg-opacity-50 top-0 left-0 right-0 z-50 w-full overflow-x-hidden overflow-y-auto md:inset-0 h-modal md:h-full" class="fixed grid place-items-center bg-gray-600 bg-opacity-50 top-0 left-0 right-0 z-50 w-full overflow-x-hidden overflow-y-auto inset-0 h-full"
> >
<div class="relative w-full h-full max-w-2xl p-4 md:h-auto"> <div class="relative w-full h-full max-w-2xl p-4 md:h-auto">
<!-- Modal content --> <!-- Modal content -->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment