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

View File

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