mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-15 03:55:28 +00:00
Fix mobile view of the popup (#4717)
This commit is contained in:
parent
f61d88aafd
commit
6c0f1c145d
1 changed files with 2 additions and 5 deletions
|
@ -6,11 +6,8 @@
|
||||||
@click="$emit('close')"
|
@click="$emit('close')"
|
||||||
/>
|
/>
|
||||||
<!-- overlay end -->
|
<!-- overlay end -->
|
||||||
<div
|
<div v-if="open" class="fixed inset-0 z-50 m-auto flex max-w-2xl print:hidden">
|
||||||
v-if="open"
|
<div class="shadow-all m-auto flex h-auto flex-col p-2">
|
||||||
class="max-w-1/3 max-w-4/5 md:max-h-3/5 fixed left-1/2 top-1/2 z-50 flex -translate-x-1/2 -translate-y-1/2 transform print:hidden"
|
|
||||||
>
|
|
||||||
<div class="shadow-all m-auto flex h-auto flex-col">
|
|
||||||
<slot />
|
<slot />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue