Set Modal Height

This commit is contained in:
khusroo hayat 2023-05-17 16:41:50 +05:00
parent 6407c3c74c
commit 1214bade53

View file

@ -67,18 +67,20 @@
<ModalComponent v-if="showEditGroupModal" @close="showEditGroupModal = false">
<h2>{{ selectedGroup.groupName }}</h2>
<div class="flex flex-col mt-3 mb-2">
<div v-for="subscription in subscriptions" :key="subscription.name">
<div class="flex justify-between">
<span>{{ subscription.name }}</span>
<input
type="checkbox"
class="checkbox"
:checked="selectedGroup.channels.includes(subscription.url.substr(-11))"
@change="checkedChange(subscription)"
/>
<div style="overflow-y: scroll; height: 300px">
<div class="flex flex-col mt-3 mb-2">
<div v-for="subscription in subscriptions" :key="subscription.name">
<div class="flex justify-between">
<span>{{ subscription.name }}</span>
<input
type="checkbox"
class="checkbox"
:checked="selectedGroup.channels.includes(subscription.url.substr(-11))"
@change="checkedChange(subscription)"
/>
</div>
<hr />
</div>
<hr />
</div>
</div>
</ModalComponent>