fix: add to channel group modal is not scrollable

This commit is contained in:
Bnyro 2023-10-27 16:18:18 +02:00
parent 77e4245eb5
commit 77a01740aa

View File

@ -1,5 +1,6 @@
<template> <template>
<ModalComponent @close="$emit('close')"> <ModalComponent @close="$emit('close')">
<div class="h-[80vh] overflow-y-scroll pr-4">
<span v-t="'actions.add_to_group'" class="mb-3 inline-block w-max text-2xl" /> <span v-t="'actions.add_to_group'" class="mb-3 inline-block w-max text-2xl" />
<div v-for="(group, index) in channelGroups" :key="group.groupName" class="px-1"> <div v-for="(group, index) in channelGroups" :key="group.groupName" class="px-1">
<div class="flex items-center justify-between"> <div class="flex items-center justify-between">
@ -12,6 +13,7 @@
</div> </div>
<hr class="h-1 w-full" /> <hr class="h-1 w-full" />
</div> </div>
</div>
</ModalComponent> </ModalComponent>
</template> </template>
<script> <script>