Skip to content

Commit

Permalink
fix(ui): ticket list: title: padding
Browse files Browse the repository at this point in the history
  • Loading branch information
ssiyad committed Jun 21, 2023
1 parent c6a9c58 commit e7253ca
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
17 changes: 10 additions & 7 deletions desk/src/components/PageTitle.vue
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
<template>
<div class="flex items-center justify-between p-6">
<slot name="title">
<div v-if="title" class="text-2xl font-semibold text-gray-900">
{{ title }}
</div>
</slot>
<slot name="right" />
<div class="m-6">
<div class="flex items-center justify-between">
<slot name="title">
<div v-if="title" class="text-2xl font-semibold text-gray-900">
{{ title }}
</div>
</slot>
<slot name="right" />
</div>
<slot name="bottom" />
</div>
</template>

Expand Down
4 changes: 3 additions & 1 deletion desk/src/pages/desk/ticket-list/TicketList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@
</template>
</Button>
</template>
<template #bottom>
<TopSection class="mt-4" />
</template>
</PageTitle>
<TopSection />
<MainTable v-if="tickets.totalCount" class="grow" />
<div
v-else
Expand Down
2 changes: 1 addition & 1 deletion desk/src/pages/desk/ticket-list/TopSection.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="flex justify-between px-6 pb-3">
<div class="flex justify-between">
<div class="flex gap-2">
<PresetFilters doctype="HD Ticket" />
<Dropdown
Expand Down

0 comments on commit e7253ca

Please sign in to comment.