mirror of
https://github.com/minoplhy/chhoto-url.git
synced 2024-11-22 17:26:45 +00:00
Rounded delete buttons
This commit is contained in:
parent
a21933d3eb
commit
c81573c3de
@ -64,7 +64,7 @@
|
|||||||
pattern="[A-Za-z0-9_-]+" />
|
pattern="[A-Za-z0-9_-]+" />
|
||||||
</div>
|
</div>
|
||||||
<div class="pure-controls">
|
<div class="pure-controls">
|
||||||
<button class="pure-button pure-button-primary">Add URL</button>
|
<button class="pure-button pure-button-primary">Shorten!</button>
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
|
@ -59,6 +59,7 @@ const deleteButton = (shortUrl) => {
|
|||||||
const btn = document.createElement("button");
|
const btn = document.createElement("button");
|
||||||
|
|
||||||
btn.innerHTML = "×";
|
btn.innerHTML = "×";
|
||||||
|
btn.setAttribute("style", "border-radius: 50%;");
|
||||||
|
|
||||||
btn.onclick = e => {
|
btn.onclick = e => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
Loading…
Reference in New Issue
Block a user