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