fix: 01 table scroll

This commit is contained in:
puriphatt 2024-07-16 10:29:47 +00:00
parent a716420de9
commit 75aa7bef1d

View file

@ -550,6 +550,7 @@ watch(locale, () => {
:limits="[0, 100]" :limits="[0, 100]"
style="width: 100%" style="width: 100%"
class="col" class="col"
after-class="overflow-hidden"
> >
<template v-slot:before> <template v-slot:before>
<div class="surface-1 column full-height"> <div class="surface-1 column full-height">
@ -779,7 +780,7 @@ watch(locale, () => {
</template> </template>
<template v-slot:after> <template v-slot:after>
<div class="column full-height"> <div class="column full-height no-wrap">
<div <div
class="row q-py-sm q-px-md justify-between full-width surface-3 bordered-b" class="row q-py-sm q-px-md justify-between full-width surface-3 bordered-b"
> >
@ -887,13 +888,11 @@ watch(locale, () => {
</div> </div>
</div> </div>
<div <div class="surface-2 q-pa-md scroll full-width">
class="q-pa-md col scroll"
style="background-color: transparent; overflow-x: auto"
>
<q-table <q-table
flat flat
bordered bordered
class="full-width"
:rows-per-page-options="[0]" :rows-per-page-options="[0]"
:rows=" :rows="
treeData treeData
@ -1181,6 +1180,7 @@ watch(locale, () => {
<template v-slot:item="props"> <template v-slot:item="props">
<div class="col-12 col-md-6"> <div class="col-12 col-md-6">
<BranchCard <BranchCard
class="surface-1"
:id="`branch-card-${props.row.name}`" :id="`branch-card-${props.row.name}`"
:class="{ :class="{
'cursor-pointer': props.row._count.branch !== 0, 'cursor-pointer': props.row._count.branch !== 0,