Merge pull request #325 from nextcloud/design/submit-fixes

This commit is contained in:
John Molakvoæ 2020-05-01 09:25:44 +02:00 committed by GitHub
commit 6df6596c23
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View file

@ -31,7 +31,7 @@
<!-- TODO: properly choose max length -->
<textarea ref="textarea"
:aria-label="t('forms', 'A long answer for the question “{text}”', { text })"
:placeholder="t('forms', 'People can enter a long answer')"
:placeholder="t('forms', 'Long answer text')"
:required="true /* TODO: implement required option */"
:value="values[0]"
class="question__text"
@ -85,12 +85,12 @@ export default {
min-width: 100%;
max-width: 100%;
min-height: 44px;
max-height: 10rem;
margin: 0;
padding: 6px 0;
border: 0;
border-bottom: 1px dotted var(--color-border-dark);
border-radius: 0;
resize: none;
}
</style>

View file

@ -31,7 +31,7 @@
<!-- TODO: properly choose max length -->
<input ref="input"
:aria-label="t('forms', 'A short answer for the question “{text}”', { text })"
:placeholder="t('forms', 'People can enter a short answer')"
:placeholder="t('forms', 'Short answer text')"
:required="true /* TODO: implement required option */"
:value="values[0]"
class="question__input"

View file

@ -195,7 +195,7 @@ export default {
// Less padding needed as submit view does not have drag handles
padding-left: 16px;
// stylelint-disable-next-line selector-pseudo-element-no-unknown
::v-deep &__content {
::v-deep ul.question__content {
// Left-align multiple choice and checkboxes with question text
// Only in submit view
// TODO: use variables