aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStas Vilchik <stas.vilchik@sonarsource.com>2017-10-12 15:40:06 +0200
committerStas Vilchik <stas.vilchik@sonarsource.com>2017-10-16 11:08:02 +0200
commitd12164c8d140b5d2dc1b0a7ccdf8f41bd3c2136a (patch)
treea2fc1f47dea64c4ff50360cb26dae0d151826517
parent14018e728e0d7314616aa2af79964f08c5a03e5d (diff)
downloadsonarqube-d12164c8d140b5d2dc1b0a7ccdf8f41bd3c2136a.tar.gz
sonarqube-d12164c8d140b5d2dc1b0a7ccdf8f41bd3c2136a.zip
SONAR-8497 Increase size of input on Encryption page
-rw-r--r--server/sonar-web/src/main/js/apps/settings/encryption/EncryptionForm.js14
1 files changed, 8 insertions, 6 deletions
diff --git a/server/sonar-web/src/main/js/apps/settings/encryption/EncryptionForm.js b/server/sonar-web/src/main/js/apps/settings/encryption/EncryptionForm.js
index 5b9655f86dc..752cc2c92db 100644
--- a/server/sonar-web/src/main/js/apps/settings/encryption/EncryptionForm.js
+++ b/server/sonar-web/src/main/js/apps/settings/encryption/EncryptionForm.js
@@ -49,16 +49,18 @@ export default class EncryptionForm extends React.PureComponent {
id="encryption-form"
className="big-spacer-bottom"
onSubmit={e => this.handleEncrypt(e)}>
- <input
- id="encryption-form-value"
- className="input-large"
- type="text"
+ <textarea
autoFocus={true}
+ className="input-super-large"
+ id="encryption-form-value"
+ onChange={e => this.setState({ value: e.target.value })}
required={true}
+ rows={3}
value={this.state.value}
- onChange={e => this.setState({ value: e.target.value })}
/>
- <button className="spacer-left">{translate('encryption.encrypt')}</button>
+ <div className="spacer-top">
+ <button>{translate('encryption.encrypt')}</button>
+ </div>
</form>
{this.props.encryptedValue != null && (