From a9651d77034bb9d94e75db5f3865e246a07a714a 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 }}

-