Skip to content

Commit

Permalink
fix(ui): minor UI changes
Browse files Browse the repository at this point in the history
  • Loading branch information
RitvikSardana committed Nov 5, 2024
1 parent f633ff4 commit 3e7bbd8
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 15 deletions.
1 change: 0 additions & 1 deletion desk/src/components/ViewControls.vue
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@
</div>
</FadedScrollableDiv>
<div class="grow"></div>
<div class="-ml-2 h-[70%] border-l" />

<div class="flex items-center gap-2">
<Button :label="'Refresh'" @click="emit('event:reload')">
Expand Down
11 changes: 3 additions & 8 deletions desk/src/components/layouts/Sidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
</SidebarLink>
<div class="mb-4" v-if="!isCustomerPortal">
<div
v-if="notificationStore.unread"
class="absolute z-20 h-1.5 w-1.5 translate-x-6 translate-y-1 rounded-full bg-blue-400"
v-if="!notificationStore.unread"
class="absolute z-20 h-1.5 w-1.5 translate-x-6 translate-y-1 rounded-full bg-blue-400 left-1"
theme="gray"
variant="solid"
/>
Expand All @@ -37,12 +37,7 @@
:is-expanded="isExpanded"
>
<template #right>
<Badge
v-if="isExpanded && notificationStore.unread"
:label="notificationStore.unread"
theme="gray"
variant="subtle"
/>
<Badge label="20" theme="gray" variant="subtle" />
</template>
</SidebarLink>
</div>
Expand Down
17 changes: 11 additions & 6 deletions desk/src/pages/TicketNew.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,17 @@
</div>
<!-- existing fields -->
<div class="flex flex-col" :class="subject.length >= 2 && 'gap-5'">
<FormControl
v-model="subject"
type="text"
label="Subject*"
placeholder="A short description"
/>
<div class="flex flex-col gap-2">
<span class="block text-sm text-gray-700">
Subject
<span class="place-self-center text-red-500"> * </span>
</span>
<FormControl
v-model="subject"
type="text"
placeholder="A short description"
/>
</div>
<TicketNewArticles v-if="isCustomerPortal" :search="subject" />
<div v-if="isCustomerPortal">
<h4
Expand Down

0 comments on commit 3e7bbd8

Please sign in to comment.