fix: 03 responsive tool bar

This commit is contained in:
puriphatt 2024-07-16 02:53:06 +00:00
parent 7a6e0742d3
commit 297eb3fc06

View file

@ -1624,9 +1624,8 @@ watch([inputSearch, currentStatus], async () => {
for="input-search" for="input-search"
outlined outlined
dense dense
style="width: 250px"
:label="$t('search')" :label="$t('search')"
class="q-mr-md" class="q-mr-md col-12 col-md-3"
:bg-color="$q.dark.isActive ? 'dark' : 'white'" :bg-color="$q.dark.isActive ? 'dark' : 'white'"
v-model="inputSearch" v-model="inputSearch"
debounce="200" debounce="200"
@ -1636,14 +1635,17 @@ watch([inputSearch, currentStatus], async () => {
</template> </template>
</q-input> </q-input>
<div class="row"> <div
class="row col-12 col-md-4"
:class="{ 'q-pt-xs': $q.screen.lt.md }"
>
<q-select <q-select
v-model="currentStatus" v-model="currentStatus"
outlined outlined
dense dense
option-value="value" option-value="value"
option-label="label" option-label="label"
class="q-pr-md" class="col"
map-options map-options
emit-value emit-value
:options="[ :options="[
@ -1656,6 +1658,7 @@ watch([inputSearch, currentStatus], async () => {
v-if="modeView === false" v-if="modeView === false"
id="select-field" id="select-field"
for="select-field" for="select-field"
class="col q-mx-sm"
:options=" :options="
currentTab === 'employer' currentTab === 'employer'
? fieldDisplayEmployer ? fieldDisplayEmployer
@ -1676,7 +1679,7 @@ watch([inputSearch, currentStatus], async () => {
id="btn-mode" id="btn-mode"
v-model="modeView" v-model="modeView"
dense dense
class="no-shadow bordered rounded surface-1 q-ml-md" class="no-shadow bordered rounded surface-1"
:toggle-color="$q.dark.isActive ? 'grey-9' : 'grey-2'" :toggle-color="$q.dark.isActive ? 'grey-9' : 'grey-2'"
size="xs" size="xs"
:options="[ :options="[