Skip to content

Commit

Permalink
fix channel/direct overflow problem
Browse files Browse the repository at this point in the history
  • Loading branch information
montyanderson committed Feb 4, 2019
1 parent 7e5e4b9 commit 0cb5527
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/components/Channel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@
</div>
</div>
<!-- Chat messages -->
<div v-on:scroll="scroll" class="px-6 py-4 flex-1 overflow-y-scroll" ref="chat">
<div v-on:scroll="scroll" class="px-6 py-4 flex-1 overflow-y-scroll" ref="chat" style="
height: 85vh !important;
">
<div v-for="message in channel.messages">
<Message v-bind:message="message"></Message>
</div>
Expand Down
4 changes: 3 additions & 1 deletion src/components/Direct.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
</div>
</div>
<!-- Chat messages -->
<div v-on:scroll="scroll" class="px-6 py-4 flex-1 overflow-y-scroll" ref="chat">
<div v-on:scroll="scroll" class="px-6 py-4 flex-1 overflow-y-scroll" ref="chat" style="
height: 85vh !important;
">
<div v-for="message in direct.messages">
<Message v-bind:message="message"></Message>
</div>
Expand Down

0 comments on commit 0cb5527

Please sign in to comment.