Skip to content

Commit

Permalink
fix(styles): email editor
Browse files Browse the repository at this point in the history
  • Loading branch information
RitvikSardana committed Sep 24, 2024
1 parent f2b330d commit 655b71c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
8 changes: 1 addition & 7 deletions desk/src/components/EmailEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,7 @@
</div>
<div class="flex justify-between gap-2 overflow-hidden px-10 py-2.5">
<div class="flex items-center overflow-x-auto">
<TextEditorFixedMenu
class="-ml-1"
:buttons="textEditorMenuButtons"
v-if="!isMobileView"
/>
<TextEditorFixedMenu class="-ml-1" :buttons="textEditorMenuButtons" />
<div class="flex gap-1">
<FileUploader
:upload-args="{
Expand Down Expand Up @@ -167,12 +163,10 @@ import {
CannedResponseSelectorModal,
} from "@/components";
import { AttachmentIcon, EmailIcon } from "@/components/icons";
import { useScreenSize } from "@/composables/screen";
const editorRef = ref(null);
const showCannedResponseSelectorModal = ref(false);
const loading = ref(false);
const { isMobileView } = useScreenSize();
const props = defineProps({
placeholder: {
Expand Down
3 changes: 2 additions & 1 deletion desk/src/pages/MobileTicketAgent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@
@update="
() => {
ticket.reload();
ticketAgentActivitiesRef.scrollToLatestActivity();
tabIndex !== 0 &&
ticketAgentActivitiesRef.scrollToLatestActivity();
}
"
/>
Expand Down
3 changes: 2 additions & 1 deletion desk/src/pages/TicketAgent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@
@update="
() => {
ticket.reload();
ticketAgentActivitiesRef.scrollToLatestActivity();
tabIndex !== 0 &&
ticketAgentActivitiesRef.scrollToLatestActivity();
}
"
/>
Expand Down

0 comments on commit 655b71c

Please sign in to comment.