UI: various tweaks to polls UI on mobile (#9864)

This commit is contained in:
Joffrey JAFFEUX 2020-05-23 19:08:49 +02:00 committed by GitHub
parent d9a02d1336
commit faeb5793ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 9 deletions

View File

@ -1,9 +1,11 @@
div.poll { div.poll {
.poll-buttons { .poll-buttons {
padding: 0.5em 1em 1em 1em; display: inline-flex;
flex-wrap: wrap;
padding: 0.5em 1em 0.5em 1em;
button { button {
margin-right: 0.5em; margin: 0 0.5em 0.5em 0;
} }
} }
@ -11,6 +13,7 @@ div.poll {
padding: 0 1em; padding: 0 1em;
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
flex-direction: column;
.info-text { .info-text {
display: inline; display: inline;
} }

View File

@ -43,15 +43,15 @@ en:
multiple: multiple:
help: help:
at_least_min_options: at_least_min_options:
one: "Choose at least <strong>%{count}</strong> option" one: "Choose at least <strong>%{count}</strong> option."
other: "Choose at least <strong>%{count}</strong> options" other: "Choose at least <strong>%{count}</strong> options."
up_to_max_options: up_to_max_options:
one: "Choose up to <strong>%{count}</strong> option" one: "Choose up to <strong>%{count}</strong> option."
other: "Choose up to <strong>%{count}</strong> options" other: "Choose up to <strong>%{count}</strong> options."
x_options: x_options:
one: "Choose <strong>%{count}</strong> option" one: "Choose <strong>%{count}</strong> option."
other: "Choose <strong>%{count}</strong> options" other: "Choose <strong>%{count}</strong> options."
between_min_and_max_options: "Choose between <strong>%{min}</strong> and <strong>%{max}</strong> options" between_min_and_max_options: "Choose between <strong>%{min}</strong> and <strong>%{max}</strong> options."
cast-votes: cast-votes:
title: "Cast your votes" title: "Cast your votes"