diff --git a/src/components/topBanner.vue b/src/components/topBanner.vue index 064a8af..676582d 100644 --- a/src/components/topBanner.vue +++ b/src/components/topBanner.vue @@ -1,11 +1,11 @@ @@ -114,8 +133,12 @@ export default { width: 100%; height: fit-content; margin-top: 0.75rem; + .info{ + font-style: italic; + margin: 1rem; + } } - .info{ + .chatInfo{ text-align: center; font-style: italic; margin: 1rem; @@ -145,20 +168,25 @@ export default { width: 2rem; } } -.userThumbnail{ - position: absolute; - left: 0; - bottom: 0; - width: 2rem; - height: 2rem; - margin-left: 0.5rem; +.groupEvent{ + margin-left: 2rem; } + .thumbnailContainer{ position: absolute; top: 0; left: 0; height: 100%; - width: 3rem; + .filler{ + height: calc(100% - 2rem); + } + .userThumbnail{ + position: sticky; + bottom: 0.5rem; + width: 2rem; + height: 2rem; + margin-left: 0.5rem; + } } .username{ margin-left: 1rem; diff --git a/src/views/rooms.vue b/src/views/rooms.vue index ca0a040..bc66f94 100644 --- a/src/views/rooms.vue +++ b/src/views/rooms.vue @@ -10,11 +10,10 @@
{{room.name}}
- +
Please select a room to be displayed.

[c]

-

{{room.name.substr(0,2)}}
{{room.name}}
@@ -38,10 +37,9 @@ export default { methods:{ openChat(room){ this.currentRoom = room; - chat.data().room = room; - chat.data().user = matrix.user; this.$router.push(`/rooms/${room.roomId}`); this.$forceUpdate(); + //chat.methods.scrollToBottom(); } }, data(){