mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-02-18 09:00:30 -05:00
Merge pull request #2613 from chrisgarrity/issue/revert-notes-limit
restore 5000 character limit for description fields
This commit is contained in:
commit
0c62f78a17
2 changed files with 4 additions and 5 deletions
|
@ -379,8 +379,7 @@ const PreviewPresentation = ({
|
||||||
})
|
})
|
||||||
}}
|
}}
|
||||||
validations={{
|
validations={{
|
||||||
// TODO: actual 5000
|
maxLength: 5000
|
||||||
maxLength: 1000
|
|
||||||
}}
|
}}
|
||||||
value={projectInfo.instructions}
|
value={projectInfo.instructions}
|
||||||
/>
|
/>
|
||||||
|
@ -423,8 +422,7 @@ const PreviewPresentation = ({
|
||||||
})
|
})
|
||||||
}}
|
}}
|
||||||
validations={{
|
validations={{
|
||||||
// TODO: actual 5000
|
maxLength: 5000
|
||||||
maxLength: 1000
|
|
||||||
}}
|
}}
|
||||||
value={projectInfo.description}
|
value={projectInfo.description}
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -470,7 +470,8 @@ $stage-width: 480px;
|
||||||
|
|
||||||
&.has-error {
|
&.has-error {
|
||||||
.validation-message {
|
.validation-message {
|
||||||
transform: translate(26rem, 0);
|
top: 100%;
|
||||||
|
right: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue