diff --git a/src/assets/css/chat.scss b/src/assets/css/chat.scss index f32689f..c52fa26 100644 --- a/src/assets/css/chat.scss +++ b/src/assets/css/chat.scss @@ -118,6 +118,7 @@ $chat-text-size: 0.7pt; margin: 8px; margin-right: 30% !important; text-align: left; + position: relative; .bubble { background-color: white; border-radius: 10px 10px 10px 0; @@ -126,6 +127,16 @@ $chat-text-size: 0.7pt; border-style: solid !important; border-color: #cccccc !important; } + .avatar { + position: absolute; + left: -10px; + top: 0; + border: 2px solid white; + } + .sender { + position: relative; + left: 40px; + } } .sender, .status { diff --git a/src/components/Chat.vue b/src/components/Chat.vue index c3c5337..a33619b 100644 --- a/src/components/Chat.vue +++ b/src/components/Chat.vue @@ -50,6 +50,11 @@ >