Add icon for dropdown question type

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
This commit is contained in:
Jan-Christoph Borchardt 2020-06-25 19:54:45 +02:00
parent eec04a351c
commit 7bba1f067f
No known key found for this signature in database
GPG Key ID: CBD846FC845CBE17
3 changed files with 6 additions and 4 deletions

View File

@ -20,14 +20,15 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
// Icon definitions
@include icon-black-white('forms', 'forms', 3);
@include icon-black-white('clone', 'forms', 1);
@include icon-black-white('answer-short', 'forms', 1);
@include icon-black-white('answer-long', 'forms', 1);
@include icon-black-white('answer-checkbox', 'forms', 1);
@include icon-black-white('answer-multiple', 'forms', 2);
@include icon-black-white('answer-dropdown', 'forms', 1);
@include icon-black-white('answer-short', 'forms', 1);
@include icon-black-white('answer-long', 'forms', 1);
@include icon-black-white('drag-handle', 'forms', 1);
.icon-yes {

1
img/answer-dropdown.svg Normal file
View File

@ -0,0 +1 @@
<svg width="16px" height="16px" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="m8 1c-3.866 0-7 3.134-7 7 0 3.866 3.134 7 7 7 3.866 0 7-3.134 7-7 0-3.866-3.134-7-7-7zm-4 5 8 0.0058594-4 3.9941-4-4z"/></svg>

After

Width:  |  Height:  |  Size: 217 B

View File

@ -73,7 +73,7 @@ export default {
dropdown: {
component: QuestionDropdown,
icon: 'icon-triangle-s',
icon: 'icon-answer-dropdown',
label: t('forms', 'Dropdown'),
validate: question => question.options.length > 0,