Skip to content

Commit

Permalink
style: fix q-menu padding
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanvanherwijnen committed Oct 21, 2024
1 parent 644d28e commit b850f87
Show file tree
Hide file tree
Showing 5 changed files with 65 additions and 75 deletions.
36 changes: 17 additions & 19 deletions packages/app/src/pages/admin/BillsPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,23 @@
</template>
<template #header-side>
<q-btn icon="search">
<q-menu>
<div class="q-pa-sm">
<company-select
v-model="companyId"
:filtered-options="filteredCompanies"
clearable
@filter="onFilterCompanies"
/>
<client-select
v-model="clientId"
:filtered-options="filteredClients"
clearable
use-input
@filter="onFilterClients"
@new-value="onNewValueClients"
/>
<boolean-select v-model="paid" :label="lang.invoice.status.paid" />
<!-- <invoice-status-select v-model="status" /> -->
</div>
<q-menu class="q-pa-sm">
<company-select
v-model="companyId"
:filtered-options="filteredCompanies"
clearable
@filter="onFilterCompanies"
/>
<client-select
v-model="clientId"
:filtered-options="filteredClients"
clearable
use-input
@filter="onFilterClients"
@new-value="onNewValueClients"
/>
<boolean-select v-model="paid" :label="lang.invoice.status.paid" />
<!-- <invoice-status-select v-model="status" /> -->
</q-menu>
</q-btn>
</template>
Expand Down
6 changes: 2 additions & 4 deletions packages/app/src/pages/admin/ClientsPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@
</template>
<template #header-side>
<q-btn icon="search">
<q-menu>
<div class="q-pa-sm">
<q-input v-model="name" :label="lang.name" :debounce="300" />
</div>
<q-menu class="q-pa-sm">
<q-input v-model="name" :label="lang.name" :debounce="300" />
</q-menu>
</q-btn>
</template>
Expand Down
34 changes: 16 additions & 18 deletions packages/app/src/pages/admin/InvoicesPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,22 @@
<template #header-side>
<invoice-status-toggle v-model="status" />
<q-btn icon="search">
<q-menu>
<div class="q-pa-sm">
<company-select
v-model="companyId"
:filtered-options="filteredCompanies"
clearable
@filter="onFilterCompanies"
/>
<client-select
v-model="clientId"
:filtered-options="filteredClients"
clearable
use-input
@filter="onFilterClients"
@new-value="onNewValueClients"
/>
<!-- <invoice-status-select v-model="status" /> -->
</div>
<q-menu class="q-pa-sm">
<company-select
v-model="companyId"
:filtered-options="filteredCompanies"
clearable
@filter="onFilterCompanies"
/>
<client-select
v-model="clientId"
:filtered-options="filteredClients"
clearable
use-input
@filter="onFilterClients"
@new-value="onNewValueClients"
/>
<!-- <invoice-status-select v-model="status" /> -->
</q-menu>
</q-btn>
</template>
Expand Down
34 changes: 16 additions & 18 deletions packages/app/src/pages/admin/ReceiptsPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,22 @@
</template>
<template #header-side>
<q-btn icon="search">
<q-menu>
<div class="q-pa-sm">
<company-select
v-model="companyId"
:filtered-options="filteredCompanies"
clearable
@filter="onFilterCompanies"
/>
<client-select
v-model="clientId"
:filtered-options="filteredClients"
clearable
use-input
@filter="onFilterClients"
@new-value="onNewValueClients"
/>
<!-- <invoice-status-select v-model="status" /> -->
</div>
<q-menu class="q-pa-sm">
<company-select
v-model="companyId"
:filtered-options="filteredCompanies"
clearable
@filter="onFilterCompanies"
/>
<client-select
v-model="clientId"
:filtered-options="filteredClients"
clearable
use-input
@filter="onFilterClients"
@new-value="onNewValueClients"
/>
<!-- <invoice-status-select v-model="status" /> -->
</q-menu>
</q-btn>
</template>
Expand Down
30 changes: 14 additions & 16 deletions packages/app/src/pages/admin/SubscriptionsPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,20 @@
left-label
/>
<q-btn icon="search">
<q-menu>
<div class="q-pa-sm">
<company-select
v-model="companyId"
:filtered-options="filteredCompanies"
clearable
@filter="onFilterCompanies"
/>
<client-select
v-model="clientId"
:filtered-options="filteredClients"
clearable
@filter="onFilterClients"
/>
<!-- <subscription-status-select v-model="status" /> -->
</div>
<q-menu class="q-pa-sm">
<company-select
v-model="companyId"
:filtered-options="filteredCompanies"
clearable
@filter="onFilterCompanies"
/>
<client-select
v-model="clientId"
:filtered-options="filteredClients"
clearable
@filter="onFilterClients"
/>
<!-- <subscription-status-select v-model="status" /> -->
</q-menu>
</q-btn>
</template>
Expand Down

0 comments on commit b850f87

Please sign in to comment.