fix: color dark mode

This commit is contained in:
Methapon2001 2024-07-05 09:23:45 +07:00
parent 7efdc066e8
commit 1aeb48e9d7

View file

@ -507,20 +507,23 @@ watch(locale, () => {
<template v-slot:before> <template v-slot:before>
<div class="rounded surface-1 full-height"> <div class="rounded surface-1 full-height">
<div <div
class="row bordered-b q-pl-sm text-weight-bold surface-2" class="row bordered-b q-pl-sm text-weight-bold surface-2 items-center"
style="height: 50px; display: flex; align-items: center" style="height: 50px"
> >
<div class="col">ดการสาขาทงหมด</div> <div class="col">ดการสาขาทงหมด</div>
<div> <q-btn
<button round
flat
size="md"
dense
id="hq-add-btn" id="hq-add-btn"
style="border: none; background: transparent" class="q-mr-sm"
> >
<Icon <Icon
icon="pixelarticons:plus" icon="pixelarticons:plus"
height="26"
class="cursor-pointer" class="cursor-pointer"
style="color: var(--foreground); scale: 1.5"
@click=" @click="
() => { () => {
if (!currentHq.id) { if (!currentHq.id) {
@ -535,8 +538,7 @@ watch(locale, () => {
} }
" "
/> />
</button> </q-btn>
</div>
</div> </div>
<q-tree <q-tree
@ -544,6 +546,7 @@ watch(locale, () => {
node-key="id" node-key="id"
label-key="name" label-key="name"
children-key="branch" children-key="branch"
style="color: var(--foreground)"
> >
<template #default-header="{ node }"> <template #default-header="{ node }">
<div <div