aboutsummaryrefslogtreecommitdiff
path: root/src/components/chat_panel/chat_panel.vue
diff options
context:
space:
mode:
authorshpuld <shp@cock.li>2018-04-14 10:19:09 +0300
committershpuld <shp@cock.li>2018-04-14 10:19:09 +0300
commit96692454a0692166971072da357e6ae077844bfe (patch)
tree80b3031876365de76567b0e9303fa7abaa64a4bf /src/components/chat_panel/chat_panel.vue
parent1db9b1e1ad52f9f80305fcb71a306b3beb28a96a (diff)
change external link icon, move chat from side panel to floating, hide own bio, prevent body/app from scrolling horizontally.
Diffstat (limited to 'src/components/chat_panel/chat_panel.vue')
-rw-r--r--src/components/chat_panel/chat_panel.vue17
1 files changed, 15 insertions, 2 deletions
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;
}