A platform for community discussion. Free, open, simple.
UI: various tweaks to polls UI on mobile (#9864)
Joffrey JAFFEUXfaeb5793baf4
diff --git a/plugins/poll/assets/stylesheets/mobile/poll.scss b/plugins/poll/assets/stylesheets/mobile/poll.scssindex 59b3046999c..34f8c7dc19e 100644--- a/plugins/poll/assets/stylesheets/mobile/poll.scss+++ b/plugins/poll/assets/stylesheets/mobile/poll.scss@@ -1,9 +1,11 @@div.poll {.poll-buttons {- padding: 0.5em 1em 1em 1em;+ display: inline-flex;+ flex-wrap: wrap;+ padding: 0.5em 1em 0.5em 1em;button {- margin-right: 0.5em;+ margin: 0 0.5em 0.5em 0;}}@@ -11,6 +13,7 @@ div.poll {padding: 0 1em;display: flex;flex-wrap: wrap;+ flex-direction: column;.info-text {display: inline;}diff --git a/plugins/poll/config/locales/client.en.yml b/plugins/poll/config/locales/client.en.ymlindex 035630f4219..cd721d53815 100644--- a/plugins/poll/config/locales/client.en.yml+++ b/plugins/poll/config/locales/client.en.yml@@ -43,15 +43,15 @@ en:multiple:help:at_least_min_options:- one: "Choose at least <strong>%{count}</strong> option"- other: "Choose at least <strong>%{count}</strong> options"+ one: "Choose at least <strong>%{count}</strong> option."+ other: "Choose at least <strong>%{count}</strong> options."up_to_max_options:- one: "Choose up to <strong>%{count}</strong> option"- other: "Choose up to <strong>%{count}</strong> options"+ one: "Choose up to <strong>%{count}</strong> option."+ other: "Choose up to <strong>%{count}</strong> options."x_options:- one: "Choose <strong>%{count}</strong> option"- other: "Choose <strong>%{count}</strong> options"- between_min_and_max_options: "Choose between <strong>%{min}</strong> and <strong>%{max}</strong> options"+ one: "Choose <strong>%{count}</strong> option."+ other: "Choose <strong>%{count}</strong> options."+ between_min_and_max_options: "Choose between <strong>%{min}</strong> and <strong>%{max}</strong> options."cast-votes:title: "Cast your votes"