chore: Move conversation header above sidebar (#1835)

Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
Nithin David Thomas
2021-03-02 22:44:04 +05:30
committed by GitHub
parent 2120734f67
commit 5f250e5b3a
8 changed files with 150 additions and 78 deletions

View File

@@ -77,14 +77,49 @@ export default {
) {
return 'inbox-empty-state';
}
return 'columns full-height conv-empty-state';
return 'columns conv-empty-state';
},
},
};
</script>
<style scoped>
<style lang="scss" scoped>
.inbox-empty-state {
height: 100%;
overflow: auto;
}
.current-chat {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100%;
div {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100%;
img {
margin: var(--space-normal);
width: 10rem;
}
span {
font-size: var(--font-size-small);
font-weight: var(--font-weight-medium);
text-align: center;
}
}
}
.conv-empty-state {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
}
</style>