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>
|
||||
<section class="conversation-wrap">
|
||||
<ChatMessage
|
||||
v-for="message in messages"
|
||||
:key="message.id"
|
||||
:message="message"
|
||||
/>
|
||||
<div class="conversation--container">
|
||||
<div class="conversation-wrap">
|
||||
<ChatMessage
|
||||
v-for="message in messages"
|
||||
:key="message.id"
|
||||
:message="message"
|
||||
/>
|
||||
</div>
|
||||
<branding></branding>
|
||||
</section>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
@ -39,3 +41,19 @@ export default {
|
|||
},
|
||||
};
|
||||
</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;
|
||||
}
|
||||
|
||||
.conversation-wrap {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
padding: $space-large $space-small $zero $space-small;
|
||||
}
|
||||
|
||||
.footer-wrap {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue