new close buttons

closes https://github.com/v0l/snort/pull/577
This commit is contained in:
2023-12-14 12:15:06 +00:00
parent 27f6597f88
commit 444b7b5379
7 changed files with 36 additions and 20 deletions

View File

@ -311,9 +311,7 @@ export function NoteCreator() {
<div>
<input type="text" value={a} onChange={e => changePollOption(i, e.target.value)} />
{i > 1 && (
<button onClick={() => removePollOption(i)} className="ml5">
<Icon name="close" size={14} />
</button>
<div className="close-button ml5" onClick={() => removePollOption(i)}></div>
)}
</div>
</div>