0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-08 02:52:39 -05:00

Updated signup terms input field in Portal settings

Refs https://github.com/TryGhost/Team/issues/2897
This commit is contained in:
Sanne de Vries 2023-04-11 10:38:45 +02:00
parent d4fe7217d6
commit 79947d2f45
3 changed files with 10 additions and 2 deletions

View file

@ -286,7 +286,7 @@ export default ModalComponent.extend({
this.settings.hasValidated.removeObject('portalSignupTermsHtml');
if (content.length > this.maxTermsLength) {
this.settings.errors.add('portalSignupTermsHtml', 'Too many characters');
this.settings.errors.add('portalSignupTermsHtml', 'You\'ve exceeded the character limit');
this.settings.hasValidated.pushObject('portalSignupTermsHtml');
}
}

View file

@ -1972,7 +1972,7 @@ p.gh-members-import-errordetail:first-of-type {
}
.gh-members-emailsettings-footer-input {
height: 120px;
padding: 0 12px 6px 12px;
padding: 2px 12px 6px 12px;
border: 1px solid var(--whitegrey-d1);
background: var(--white);
border-radius: 4px;

View file

@ -99,6 +99,14 @@
height: 22px !important;
}
.gh-portal-settings .gh-members-emailsettings-footer-input {
height: 78px;
}
.gh-portal-settings .gh-members-emailsettings-footer-input p {
height: 60px;
}
.gh-portal-setting-sectionheading {
font-size: 1.1rem;
font-weight: 600;