Skip to content

Commit

Permalink
fix(styling): breadcrumb button
Browse files Browse the repository at this point in the history
  • Loading branch information
RitvikSardana committed Nov 28, 2024
1 parent ae628b5 commit b6b2fe5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion desk/src/components/ticket/TicketAgentActivities.vue
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ function scrollToLatestActivity() {
let e = document.getElementsByClassName("activity");
el = e[e.length - 1];
if (el && !useElementVisibility(el).value) {
el.scrollIntoView({ behavior: "smooth", block: "end" });
el.scrollIntoView({ behavior: "smooth" });
el.focus();
}
}, 500);
Expand Down
13 changes: 11 additions & 2 deletions desk/src/pages/TicketAgent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="flex flex-col">
<LayoutHeader v-if="ticket.data">
<template #left-header>
<Breadcrumbs :items="breadcrumbs" />
<Breadcrumbs :items="breadcrumbs" class="breadcrumbs" />
</template>
<template #right-header>
<CustomActions
Expand Down Expand Up @@ -196,7 +196,6 @@ const ticket = createResource({
};
});
}
console.log(data);
renameSubject.value = data.subject;
},
onSuccess: (data) => {
Expand Down Expand Up @@ -387,3 +386,13 @@ onUnmounted(() => {
document.title = "Helpdesk";
});
</script>

<style>
.breadcrumbs button {
background-color: inherit !important;
&:hover,
&:focus {
background-color: inherit !important;
}
}
</style>

0 comments on commit b6b2fe5

Please sign in to comment.