From 96692454a0692166971072da357e6ae077844bfe Mon Sep 17 00:00:00 2001
From: shpuld <shp@cock.li>
Date: Sat, 14 Apr 2018 10:19:09 +0300
Subject: change external link icon, move chat from side panel to floating,
 hide own bio, prevent body/app from scrolling horizontally.

---
 src/components/chat_panel/chat_panel.vue | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)

(limited to 'src/components/chat_panel/chat_panel.vue')

diff --git a/src/components/chat_panel/chat_panel.vue b/src/components/chat_panel/chat_panel.vue
index dea9b703..30070d3e 100644
--- a/src/components/chat_panel/chat_panel.vue
+++ b/src/components/chat_panel/chat_panel.vue
@@ -32,8 +32,8 @@
     <div class="panel panel-default">
       <div class="panel-heading stub timeline-heading chat-heading" @click.stop.prevent="togglePanel">
         <div class="title">
+          <i class="icon-comment-empty"></i>
           {{$t('chat.title')}}
-          <i class="icon-plus-squared" style="float: right;"></i>
         </div>
       </div>
     </div>
@@ -44,12 +44,25 @@
 
 <style lang="scss">
 @import '../../_variables.scss';
+
+.floating-chat {
+  position: fixed;
+  right: 0px;
+  bottom: 0px;
+  z-index: 1000;
+}
+
 .chat-heading {
   cursor: pointer;
+  .icon-comment-empty {
+    color: $fallback--fg;
+    color: var(--fg, $fallback--fg);
+  }
 }
 
 .chat-window {
-  max-height: 200px;
+  width: 345px;
+  max-height: 40vh;
   overflow-y: auto;
   overflow-x: hidden;
 }
-- 
cgit v1.2.3-70-g09d2

