U 优化密钥设置页面展示效果

pull/462/head
vapao 2022-03-27 23:28:58 +08:00
parent 81f5165150
commit 8dcf187e1e
2 changed files with 6 additions and 0 deletions

View File

@ -55,6 +55,7 @@ export default observer(function () {
<Input.TextArea <Input.TextArea
rows={7} rows={7}
spellCheck={false} spellCheck={false}
className={styles.keyText}
value={store.settings.public_key} value={store.settings.public_key}
onChange={e => store.settings.public_key = e.target.value} onChange={e => store.settings.public_key = e.target.value}
placeholder="请输入公钥"/> placeholder="请输入公钥"/>
@ -63,6 +64,7 @@ export default observer(function () {
<Input.TextArea <Input.TextArea
rows={14} rows={14}
spellCheck={false} spellCheck={false}
className={styles.keyText}
value={store.settings.private_key} value={store.settings.private_key}
onChange={e => store.settings.private_key = e.target.value} onChange={e => store.settings.private_key = e.target.value}
placeholder="请输入私钥"/> placeholder="请输入私钥"/>

View File

@ -25,3 +25,7 @@
.form { .form {
max-width: 320px; max-width: 320px;
} }
.keyText {
font-family: "Bitstream Vera Sans Mono", Monaco, "Courier New", Courier, monospace;
}