diff --git a/src/main/resources/public/index.html b/src/main/resources/public/index.html index b9049a4..cb33459 100644 --- a/src/main/resources/public/index.html +++ b/src/main/resources/public/index.html @@ -44,6 +44,13 @@ td[name="deleteBtn"] { text-align: center; } + + td[name="deleteBtn"] button { + border-radius: 50%; + border-style: solid; + cursor: pointer; + background-color: transparent; + } diff --git a/src/main/resources/public/js/main.js b/src/main/resources/public/js/main.js index ae78bb6..862d045 100644 --- a/src/main/resources/public/js/main.js +++ b/src/main/resources/public/js/main.js @@ -59,7 +59,6 @@ const deleteButton = (shortUrl) => { const btn = document.createElement("button"); btn.innerHTML = "×"; - btn.setAttribute("style", "border-radius: 50%;"); btn.onclick = e => { e.preventDefault();