From 7cdb8c10e97fe9e22411efef4986e6393247e0ee 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 211601d52..898f956b0 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 && ( - - )} +