From aa21aeb8383b4638c29da36954f4dfdcd3fb19a0 Mon Sep 17 00:00:00 2001 From: ThibG Date: Thu, 7 Nov 2019 08:06:06 +0100 Subject: [PATCH] Minor improvements to poll composing UI (#12319) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Disable the “add option” button instead of hiding it - Allow poll option inputs to scale to full width --- .../mastodon/features/compose/components/poll_form.js | 4 +--- app/javascript/styles/mastodon/components.scss | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/javascript/mastodon/features/compose/components/poll_form.js b/app/javascript/mastodon/features/compose/components/poll_form.js index 211601d520..898f956b0c 100644 --- a/app/javascript/mastodon/features/compose/components/poll_form.js +++ b/app/javascript/mastodon/features/compose/components/poll_form.js @@ -142,9 +142,7 @@ class PollForm extends ImmutablePureComponent {
- {options.size < 4 && ( - - )} +