From 4e1974c6e6c8d36e6dd8b12c74e219bcf4cfbf7a Mon Sep 17 00:00:00 2001 From: Derek Date: Tue, 25 Jan 2022 11:26:12 -0700 Subject: [PATCH] enhance: Improve poll-editor UI + composition port (#8186) * Poll editor UI changes Use a horizontal layout when possible, wrap to vertical when constrained * Port poll-editor to composition API * Fix poll-editor `get` time calcs * fix Co-authored-by: syuilo --- .../client/src/components/poll-editor.vue | 224 ++++++++---------- packages/client/src/components/post-form.vue | 17 +- 2 files changed, 101 insertions(+), 140 deletions(-) diff --git a/packages/client/src/components/poll-editor.vue b/packages/client/src/components/poll-editor.vue index fad0cf159..d8f898ee1 100644 --- a/packages/client/src/components/poll-editor.vue +++ b/packages/client/src/components/poll-editor.vue @@ -3,7 +3,7 @@

{{ $ts._poll.noOnlyOneChoice }}

-