UX: Create new poll via modal

This commit is contained in:
10G Meow 2023-01-05 09:35:47 +00:00 committed by n8fr8
parent d318937348
commit 11dcc24859
5 changed files with 92 additions and 107 deletions

View file

@ -38,6 +38,9 @@
padding: 15px 14px;
margin: 0px;
height: 48px;
&:hover {
cursor: pointer;
}
&.winner {
font-weight: 700;
}
@ -50,8 +53,9 @@
&.result {
border: none;
padding: 15px 0px;
}
.poll-answer-title {
&:hover {
cursor: default;
}
}
.poll-answer-num-votes {
font-size: 0.75rem;
@ -207,6 +211,7 @@
// Creation dialog
//
.poll-create {
height: 500px;
overflow-x: hidden;
overflow-y: auto;
.poll-create-dialog-content {

View file

@ -256,7 +256,7 @@
"download_name": "Download"
},
"poll_create": {
"title": "New Poll",
"title": "Create new poll",
"create": "Publish",
"creating": "Creating poll",
"poll_disclosed": "Open - current results are shown at all times.",
@ -270,7 +270,7 @@
"please_complete": "Please complete",
"answer_required": "Answer can't be empty. Please enter some text or remove this option.",
"tip_title": "PRO TIP",
"tip_text": "Members will see the poll results after they answer. Close the poll when you're done to show results to everyone in the room..",
"tip_text": "Members will see the poll results after they answer. Close the poll when you're done to show results to everyone in the room.",
"create_poll_menu_option": "Create poll",
"poll_status_closed": "Poll is closed",
"poll_status_disclosed": "Results will be shown when poll is closed.",