refactor: scroll inside
This commit is contained in:
parent
4511137cc7
commit
a934f6cd83
1 changed files with 198 additions and 195 deletions
|
|
@ -498,10 +498,7 @@ watch(locale, () => {
|
|||
/>
|
||||
</transition>
|
||||
|
||||
<div
|
||||
class="column col surface-1 rounded scroll"
|
||||
:no-padding="!!branchData.total"
|
||||
>
|
||||
<div class="column col surface-1 rounded" :no-padding="!!branchData.total">
|
||||
<template v-if="!branchData.total">
|
||||
<TooltipComponent
|
||||
class="self-end"
|
||||
|
|
@ -525,7 +522,7 @@ watch(locale, () => {
|
|||
style="width: 100%"
|
||||
>
|
||||
<template v-slot:before>
|
||||
<div class="rounded surface-1 full-height">
|
||||
<div class="rounded surface-1 scroll">
|
||||
<div
|
||||
class="row bordered-b q-pl-sm text-weight-bold surface-2 items-center"
|
||||
style="height: 50px"
|
||||
|
|
@ -733,7 +730,7 @@ watch(locale, () => {
|
|||
</template>
|
||||
|
||||
<template v-slot:after>
|
||||
<div class="full-width">
|
||||
<div class="column" style="height: 100%">
|
||||
<div
|
||||
class="row justify-between q-pl-md items-center surface-2 bordered-b q-pr-md"
|
||||
style="height: 50px"
|
||||
|
|
@ -905,7 +902,11 @@ watch(locale, () => {
|
|||
</q-btn-toggle>
|
||||
</div>
|
||||
</div>
|
||||
<div class="q-pa-md">
|
||||
<div style="position: relative; flex: 1">
|
||||
<div
|
||||
style="position: absolute; inset: 0"
|
||||
class="scroll q-pa-md"
|
||||
>
|
||||
<q-table
|
||||
flat
|
||||
bordered
|
||||
|
|
@ -937,7 +938,8 @@ watch(locale, () => {
|
|||
) {
|
||||
return true;
|
||||
}
|
||||
if (fieldSelectedBranch.value === 'all') return true;
|
||||
if (fieldSelectedBranch.value === 'all')
|
||||
return true;
|
||||
if (fieldSelectedBranch.value === 'branchHQLabel')
|
||||
return v.isHeadOffice;
|
||||
if (fieldSelectedBranch.value === 'branchLabel')
|
||||
|
|
@ -1114,6 +1116,7 @@ watch(locale, () => {
|
|||
</div>
|
||||
</template>
|
||||
</q-table>
|
||||
</div>
|
||||
|
||||
<!-- <BranchCard
|
||||
class="col-6"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue