diff options
| author | eal <eal@waifu.club> | 2017-12-07 19:03:26 +0200 |
|---|---|---|
| committer | eal <eal@waifu.club> | 2017-12-07 19:03:26 +0200 |
| commit | ecb8acb155a77092b0661854b0ca4cf3c19ff56e (patch) | |
| tree | 2ba770bd7bea80846ff60f1d260888f2cf39f3ed | |
| parent | 612fb183671783c3ac3eeea21428c024a47713b1 (diff) | |
Some css fixes.
Scale chat panel size to viewport height, fit message field to width.
| -rw-r--r-- | src/components/chat/chat.vue | 7 |
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; } } } |
