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