start message to bottom
This commit is contained in:
@@ -29,7 +29,7 @@ onBeforeRouteUpdate(async (to, from) => {
|
||||
|
||||
<template>
|
||||
<div id="main">
|
||||
<Header :room="room"></Header>
|
||||
<Header :id="id"></Header>
|
||||
<div id="RoomViewBody">
|
||||
<div class="content">
|
||||
<Message v-for="(message, index) in store.getters.messages(id)" :key="index" :data="message" />
|
||||
@@ -64,7 +64,7 @@ onBeforeRouteUpdate(async (to, from) => {
|
||||
|
||||
.content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-direction: column-reverse;
|
||||
overflow: auto;
|
||||
margin-bottom: 100px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user