ปรับ responesive

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-06-05 11:36:57 +07:00
parent 78bd5c0f7b
commit ff10fb0ee1
5 changed files with 56 additions and 34 deletions

View file

@ -13,7 +13,7 @@ const props = defineProps({
<template>
<div class="q-pa-sm row col-12">
<q-table
<d-table
ref="table"
flat
bordered
@ -23,9 +23,9 @@ const props = defineProps({
:rows-per-page-options="[10, 25, 50, 100]"
virtual-scroll
class="row col-12"
:style="$q.screen.lt.sm ? 'width: 70vw' : 'width: 50vw;'"
:style="$q.screen.lt.sm ? 'width: 80vw' : 'width: 50vw;'"
>
</q-table>
</d-table>
</div>
</template>