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 {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.saveResetAccount {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
.accountSettings textarea {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.accountSettings div {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
@@ -151,9 +162,8 @@
|
||||
color: red;
|
||||
}
|
||||
|
||||
.accountSettings select {
|
||||
display: block;
|
||||
margin-bottom: 10px;
|
||||
.accountSettings .createAccount {
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
|
||||
@@ -254,13 +254,18 @@ const AccountSettings = () => {
|
||||
|
||||
return (
|
||||
<div className={styles.accountSettings}>
|
||||
<select value={account?.name} onChange={(e) => setActiveAccount(e.target.value)}>
|
||||
{accountsOptions}
|
||||
</select>
|
||||
Account Data Preview:
|
||||
<div>
|
||||
<select value={account?.name} onChange={(e) => setActiveAccount(e.target.value)}>
|
||||
{accountsOptions}
|
||||
</select>
|
||||
<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' />
|
||||
<div>
|
||||
<button onClick={_createAccount}>Create</button> a new account
|
||||
<button onClick={saveAccount}>Save</button> <button onClick={() => setText(accountJson)}>Reset</button>
|
||||
</div>
|
||||
<div>
|
||||
<button onClick={_importAccount}>Import</button> full account data
|
||||
|
||||
Reference in New Issue
Block a user