mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
update account settings design
This commit is contained in:
@@ -144,6 +144,17 @@
|
|||||||
|
|
||||||
.accountSettings button {
|
.accountSettings button {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.saveResetAccount {
|
||||||
|
margin-top: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.accountSettings textarea {
|
||||||
|
margin-bottom: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.accountSettings div {
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -151,9 +162,8 @@
|
|||||||
color: red;
|
color: red;
|
||||||
}
|
}
|
||||||
|
|
||||||
.accountSettings select {
|
.accountSettings .createAccount {
|
||||||
display: block;
|
margin-left: 5px;
|
||||||
margin-bottom: 10px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 640px) {
|
@media (max-width: 640px) {
|
||||||
|
|||||||
@@ -254,13 +254,18 @@ const AccountSettings = () => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={styles.accountSettings}>
|
<div className={styles.accountSettings}>
|
||||||
|
<div>
|
||||||
<select value={account?.name} onChange={(e) => setActiveAccount(e.target.value)}>
|
<select value={account?.name} onChange={(e) => setActiveAccount(e.target.value)}>
|
||||||
{accountsOptions}
|
{accountsOptions}
|
||||||
</select>
|
</select>
|
||||||
Account Data Preview:
|
<button className={styles.createAccount} onClick={_createAccount}>
|
||||||
|
+
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<div></div>
|
||||||
<textarea value={text} onChange={(e) => setText(e.target.value)} autoCorrect='off' autoComplete='off' spellCheck='false' />
|
<textarea value={text} onChange={(e) => setText(e.target.value)} autoCorrect='off' autoComplete='off' spellCheck='false' />
|
||||||
<div>
|
<div>
|
||||||
<button onClick={_createAccount}>Create</button> a new account
|
<button onClick={saveAccount}>Save</button> <button onClick={() => setText(accountJson)}>Reset</button>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<button onClick={_importAccount}>Import</button> full account data
|
<button onClick={_importAccount}>Import</button> full account data
|
||||||
|
|||||||
Reference in New Issue
Block a user