1
Fork 0

Add placeholders to the Username Colors inputs.

This commit is contained in:
Bauke 2022-02-27 15:55:40 +01:00
parent 3f2e2677fc
commit 7d2a25815e
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 12 additions and 2 deletions

View File

@ -114,8 +114,18 @@ export class UsernameColorsSetting extends Component<SettingProps, State> {
return html`
<div class="username-colors-editor" key=${id}>
<input style=${style} value=${username} onInput=${usernameHandler} />
<input style=${style} value=${color} onInput=${colorHandler} />
<input
style=${style}
placeholder="Username(s)"
value=${username}
onInput=${usernameHandler}
/>
<input
style=${style}
placeholder="Color"
value=${color}
onInput=${colorHandler}
/>
<button class="button destructive" onClick=${removeHandler}>
Remove
</button>