1
0
Fork 0
mirror of https://github.com/SinTan1729/chhoto-url synced 2024-10-16 13:27:03 -05:00

Rounded delete buttons

This commit is contained in:
Sayantan Santra 2022-11-09 19:26:17 -06:00
parent a21933d3eb
commit c81573c3de
2 changed files with 2 additions and 1 deletions

View file

@ -64,7 +64,7 @@
pattern="[A-Za-z0-9_-]+" />
</div>
<div class="pure-controls">
<button class="pure-button pure-button-primary">Add URL</button>
<button class="pure-button pure-button-primary">Shorten!</button>
</div>
</fieldset>
</form>

View file

@ -59,6 +59,7 @@ const deleteButton = (shortUrl) => {
const btn = document.createElement("button");
btn.innerHTML = "&times;";
btn.setAttribute("style", "border-radius: 50%;");
btn.onclick = e => {
e.preventDefault();