fix: settings modal size

This commit is contained in:
Jannat Patel
2025-05-14 13:19:03 +05:30
parent da8028784d
commit 0a0fcb305c
3 changed files with 15 additions and 5 deletions

View File

@@ -5,10 +5,11 @@
{{ label }}
</div>
<Button @click="() => showCategoryForm()">
<template #icon>
<template #prefix>
<Plus v-if="!showForm" class="h-3 w-3 stroke-1.5" />
<X v-else class="h-3 w-3 stroke-1.5" />
</template>
{{ showForm ? __('Close') : __('New') }}
</Button>
</div>
@@ -28,12 +29,11 @@
</div>
<div class="overflow-y-scroll">
<div class="text-base divide-y space-y-2">
<div class="text-base space-y-2">
<FormControl
:value="cat.category"
type="text"
v-for="cat in categories.data"
class=""
@change.stop="(e) => update(cat.name, e.target.value)"
/>
</div>

View File

@@ -1,5 +1,5 @@
<template>
<Dialog v-model="show" :options="{ size: '4xl' }">
<Dialog v-model="show" :options="{ size: '5xl' }">
<template #body>
<div class="flex h-[calc(100vh_-_8rem)]">
<div class="flex w-52 shrink-0 flex-col bg-surface-gray-2 p-2">

View File

@@ -403,7 +403,7 @@
"index_web_pages_for_search": 1,
"issingle": 1,
"links": [],
"modified": "2025-04-22 16:05:27.914422",
"modified": "2025-05-14 12:43:22.749850",
"modified_by": "sayali@frappe.io",
"module": "LMS",
"name": "LMS Settings",
@@ -425,6 +425,16 @@
"read": 1,
"role": "LMS Student",
"share": 1
},
{
"create": 1,
"delete": 1,
"email": 1,
"print": 1,
"read": 1,
"role": "Moderator",
"share": 1,
"write": 1
}
],
"row_format": "Dynamic",