mirror of https://github.com/openspug/spug
U 优化密钥设置页面展示效果
parent
81f5165150
commit
8dcf187e1e
|
@ -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="请输入私钥"/>
|
||||
|
|
|
@ -24,4 +24,8 @@
|
|||
|
||||
.form {
|
||||
max-width: 320px;
|
||||
}
|
||||
|
||||
.keyText {
|
||||
font-family: "Bitstream Vera Sans Mono", Monaco, "Courier New", Courier, monospace;
|
||||
}
|
Loading…
Reference in New Issue