fix: table header color

This commit is contained in:
puriphatt 2024-07-31 06:18:52 +00:00
parent 43b53c176a
commit a980030276
5 changed files with 25 additions and 7 deletions

View file

@ -291,7 +291,7 @@ watch([inputSearch, currentStatus], async () => {
:visible-columns="branchFieldSelected"
>
<template #header>
<q-tr class="surface-3">
<q-tr style="background-color: hsla(var(--info-bg) / 0.07)">
<q-th
v-for="(v, i) in fieldDisplay"
:key="v"

View file

@ -925,7 +925,10 @@ watch(currentHq, () => {
:visible-columns="fieldSelected"
>
<template v-slot:header="props">
<q-tr class="surface-3" :props="props">
<q-tr
style="background-color: hsla(var(--info-bg) / 0.07)"
:props="props"
>
<q-th
v-for="col in props.cols"
:key="col.name"

View file

@ -1046,7 +1046,10 @@ watch(
:visible-columns="fieldSelected"
>
<template v-slot:header="props">
<q-tr class="surface-2" :props="props">
<q-tr
style="background-color: hsla(var(--info-bg) / 0.07)"
:props="props"
>
<q-th v-for="col in props.cols" :key="col.name" :props="props">
{{ $t(col.label) }}
</q-th>

View file

@ -2025,7 +2025,10 @@ watch(isMainPage, () => {
:visible-columns="fieldSelected"
>
<template v-slot:header="props">
<q-tr class="surface-2" :props="props">
<q-tr
style="background-color: hsla(var(--info-bg) / 0.07)"
:props="props"
>
<q-th
v-for="col in props.cols"
:key="col.name"
@ -2482,7 +2485,10 @@ watch(isMainPage, () => {
:visible-columns="fieldSelected"
>
<template v-slot:header="props">
<q-tr class="surface-2" :props="props">
<q-tr
style="background-color: hsla(var(--info-bg) / 0.07)"
:props="props"
>
<q-th
v-for="col in props.cols"
:key="col.name"

View file

@ -2057,7 +2057,10 @@ watch(
:visible-columns="tbControl.groupAndType.fieldSelected"
>
<template v-slot:header="props">
<q-tr class="surface-2" :props="props">
<q-tr
style="background-color: hsla(var(--info-bg) / 0.07)"
:props="props"
>
<q-th
v-for="col in props.cols"
:key="col.name"
@ -2812,7 +2815,10 @@ watch(
"
>
<template v-slot:header="props">
<q-tr class="surface-2" :props="props">
<q-tr
style="background-color: hsla(var(--info-bg) / 0.07)"
:props="props"
>
<q-th
v-for="col in props.cols"
:key="col.name"