ปรับ width Dialog

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-02-10 14:49:59 +07:00
parent 29071e0edf
commit d71f87a17b
2 changed files with 6 additions and 3 deletions

View file

@ -118,7 +118,7 @@ watch(
<template>
<template>
<q-dialog v-model="modal" persistent>
<q-card style="min-width: 40vw">
<q-card style="min-width: 70%">
<DialogHeader
:tittle="type == 0 ? `ประวัติหน่วยงาน` : `ประวัติส่วนราชการ`"
:close="() => (modal = false)"
@ -166,7 +166,10 @@ watch(
:key="col.name"
:props="props"
>
<div>
<div class="table_ellipsis2" v-if="col.name == 'name'">
{{ col.value ?? "-" }}
</div>
<div v-else>
{{ col.value ?? "-" }}
</div>
</q-td>

View file

@ -179,7 +179,7 @@ watch(
</script>
<template>
<q-dialog v-model="modal" persistent>
<q-card style="width: 1000px; max-width: 100vw">
<q-card style="min-width: 80%">
<Header
:tittle="'ประวัติตำแหน่ง'"
:close="