aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoreal <eal@waifu.club>2017-12-07 19:03:26 +0200
committereal <eal@waifu.club>2017-12-07 19:03:26 +0200
commitecb8acb155a77092b0661854b0ca4cf3c19ff56e (patch)
tree2ba770bd7bea80846ff60f1d260888f2cf39f3ed /src
parent612fb183671783c3ac3eeea21428c024a47713b1 (diff)
Some css fixes.
Scale chat panel size to viewport height, fit message field to width.
Diffstat (limited to 'src')
-rw-r--r--src/components/chat/chat.vue7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/components/chat/chat.vue b/src/components/chat/chat.vue
index 488faf9a..6c1e2c38 100644
--- a/src/components/chat/chat.vue
+++ b/src/components/chat/chat.vue
@@ -30,6 +30,11 @@
<style lang="scss">
+ .chat-window {
+ max-height: 80vh;
+ overflow-y: auto;
+ overflow-x: hidden;
+ }
.chat-message {
padding: 0.2em 0.5em
}
@@ -47,7 +52,7 @@
flex: auto;
input {
margin: 0.5em;
- width: 100%;
+ width: fill-available;
}
}
}