diff --git a/app/javascript/mastodon/features/compose/components/poll_form.jsx b/app/javascript/mastodon/features/compose/components/poll_form.jsx index 1b9608230..c5ba51417 100644 --- a/app/javascript/mastodon/features/compose/components/poll_form.jsx +++ b/app/javascript/mastodon/features/compose/components/poll_form.jsx @@ -164,6 +164,8 @@ class PollForm extends ImmutablePureComponent { + + {/* Hometown: Clicking the poll checkboxes is not accessible at all, therefore we add a dedicated toggle. */}
diff --git a/app/javascript/styles/hometown.scss b/app/javascript/styles/hometown.scss index 005ee99d5..81880036c 100644 --- a/app/javascript/styles/hometown.scss +++ b/app/javascript/styles/hometown.scss @@ -52,3 +52,12 @@ height: 23.1429px; line-height: 23.15px; } + +// app/javascript/mastodon/features/compose/components/poll_form.jsx +// Add some custom styling for the "multiple choice" selection button +.compose-form__poll-wrapper .is-multiple-toggle { + padding: 10px; // same as the poll options above it + display: inline-flex; + align-items: center; + gap: 10px; // same as the padding +}