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

@@ -1,5 +1,5 @@
<template>
<div class="conversations-sidebar medium-4 columns">
<div class="conversations-list-wrap">
<slot></slot>
<div class="chat-list__top">
<h1 class="page-title text-truncate" :title="pageTitle">
@@ -218,9 +218,24 @@ export default {
</script>
<style scoped lang="scss">
@import '~dashboard/assets/scss/variables';
@import '~dashboard/assets/scss/app.scss';
.spinner {
margin-top: $space-normal;
margin-bottom: $space-normal;
margin-top: var(--space-normal);
margin-bottom: var(--space-normal);
}
.conversations-list-wrap {
flex-shrink: 0;
width: 34rem;
@include breakpoint(large up) {
width: 36rem;
}
@include breakpoint(xlarge up) {
width: 33rem;
}
@include breakpoint(xxlarge up) {
width: 42rem;
}
}
</style>