Comply to new Actions primary/title standard

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2020-04-29 13:26:38 +02:00
parent 86008c582b
commit 2668ded75f
No known key found for this signature in database
GPG key ID: 60C25B8C072916CF

View file

@ -71,9 +71,9 @@
<!-- Add new questions toolbar -->
<div class="question-toolbar" role="toolbar">
<Actions ref="questionMenu"
v-tooltip="t('forms', 'Add a question to this form')"
:aria-label="t('forms', 'Add a question to this form')"
:open.sync="questionMenuOpened"
:menu-title="t('forms', 'Add a question')"
:primary="true"
:default-icon="isLoadingQuestions ? 'icon-loading-small' : 'icon-add-white'">
<ActionButton v-for="(answer, type) in answerTypes"
:key="answer.label"
@ -427,14 +427,6 @@ export default {
.icon-add-white {
opacity: 1;
border-radius: 50%;
// TODO: standardize on components
background-color: var(--color-primary-element);
&:hover,
&:focus,
&:active {
background-color: var(--color-primary-element-light) !important;
}
}
}
}