Add full width to popup
This commit is contained in:
parent
a6e3c2824d
commit
c44126a01e
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<div class="flex fixed top-0 left-0 w-full h-full items-center justify-center p-6 z-40 bg-black/40" @click.self="emit('close')">
|
||||
<div class="rounded bg-white p-4 shadow-2xl ring-1 ring-gray-900/5 relative text-gray-600 max-w-2xl max-h-full overflow-auto">
|
||||
<div class="w-full rounded bg-white p-4 shadow-2xl ring-1 ring-gray-900/5 relative text-gray-600 max-w-2xl max-h-full overflow-auto">
|
||||
<h2 class="font-arvo text-primary text-sm md:text-base" v-if="heading" v-text="heading"></h2>
|
||||
<slot></slot>
|
||||
<a class="absolute block mt-3 mr-3 right-0 top-0" href="#" @click.prevent="emit('close')">
|
||||
|
|
Loading…
Reference in New Issue