Fix styles in conversation view
This commit is contained in:
parent
6d8b6d4769
commit
b985085786
2 changed files with 25 additions and 13 deletions
|
@ -1,12 +1,14 @@
|
||||||
<template>
|
<template>
|
||||||
<section class="conversation-wrap">
|
<div class="conversation--container">
|
||||||
|
<div class="conversation-wrap">
|
||||||
<ChatMessage
|
<ChatMessage
|
||||||
v-for="message in messages"
|
v-for="message in messages"
|
||||||
:key="message.id"
|
:key="message.id"
|
||||||
:message="message"
|
:message="message"
|
||||||
/>
|
/>
|
||||||
|
</div>
|
||||||
<branding></branding>
|
<branding></branding>
|
||||||
</section>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
@ -39,3 +41,19 @@ export default {
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<style scoped lang="scss">
|
||||||
|
@import '~widget/assets/scss/woot.scss';
|
||||||
|
|
||||||
|
.conversation--container {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
flex: 1;
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.conversation-wrap {
|
||||||
|
flex: 1;
|
||||||
|
padding: $space-large $space-small $zero $space-small;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
|
@ -53,12 +53,6 @@ export default {
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.conversation-wrap {
|
|
||||||
flex: 1;
|
|
||||||
overflow-y: auto;
|
|
||||||
padding: $space-large $space-small $zero $space-small;
|
|
||||||
}
|
|
||||||
|
|
||||||
.footer-wrap {
|
.footer-wrap {
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue