chore: Move conversation header above sidebar (#1835)
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
parent
2120734f67
commit
5f250e5b3a
8 changed files with 150 additions and 78 deletions
|
@ -1,10 +1,5 @@
|
|||
<template>
|
||||
<div class="view-box columns">
|
||||
<conversation-header
|
||||
:chat="currentChat"
|
||||
:is-contact-panel-open="isContactPanelOpen"
|
||||
@contact-panel-toggle="onToggleContactPanel"
|
||||
/>
|
||||
<div class="view-box fill-height">
|
||||
<div v-if="!currentChat.can_reply" class="banner messenger-policy--banner">
|
||||
<span>
|
||||
{{ $t('CONVERSATION.CANNOT_REPLY') }}
|
||||
|
@ -86,7 +81,6 @@
|
|||
<script>
|
||||
import { mapGetters } from 'vuex';
|
||||
|
||||
import ConversationHeader from './ConversationHeader';
|
||||
import ReplyBox from './ReplyBox';
|
||||
import Message from './Message';
|
||||
import conversationMixin from '../../../mixins/conversations';
|
||||
|
@ -95,7 +89,6 @@ import { BUS_EVENTS } from 'shared/constants/busEvents';
|
|||
|
||||
export default {
|
||||
components: {
|
||||
ConversationHeader,
|
||||
Message,
|
||||
ReplyBox,
|
||||
},
|
||||
|
@ -316,4 +309,9 @@ export default {
|
|||
.spinner--container {
|
||||
min-height: var(--space-jumbo);
|
||||
}
|
||||
|
||||
.view-box.fill-height {
|
||||
height: auto;
|
||||
flex-grow: 1;
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue