diff options
| author | shpuld <shp@cock.li> | 2018-04-11 00:19:28 +0300 |
|---|---|---|
| committer | shpuld <shp@cock.li> | 2018-04-11 00:19:28 +0300 |
| commit | 49aa2d5fb7e13398c2fde83966cb8ae2fe228008 (patch) | |
| tree | 0807b810223512779a55e3bfdb7a89ad02bfaf16 /src/components/chat_panel/chat_panel.vue | |
| parent | f69a12a912d425c9d2b4a456a0cbbb2378babd44 (diff) | |
cleanup
Diffstat (limited to 'src/components/chat_panel/chat_panel.vue')
| -rw-r--r-- | src/components/chat_panel/chat_panel.vue | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/src/components/chat_panel/chat_panel.vue b/src/components/chat_panel/chat_panel.vue index 9339dfb6..969088f4 100644 --- a/src/components/chat_panel/chat_panel.vue +++ b/src/components/chat_panel/chat_panel.vue @@ -24,9 +24,7 @@ </div> </div> <div class="chat-input"> - <form @submit.prevent="submit(currentMessage)"> - <textarea @keyup.enter="submit(currentMessage)" v-model="currentMessage" class="chat-input-textarea" rows="1"></textarea> - </form> + <textarea @keyup.enter="submit(currentMessage)" v-model="currentMessage" class="chat-input-textarea" rows="1"></textarea> </div> </div> </div> @@ -77,19 +75,11 @@ .chat-input { display: flex; - form { - flex: auto; - display: flex; - input { - margin: 0.5em; - width: fill-available; - } - textarea { - flex: 1; - margin: 0.6em; - min-height: 3.5em; - resize: none; - } + textarea { + flex: 1; + margin: 0.6em; + min-height: 3.5em; + resize: none; } } </style> |
