1
0
Fork 0
mirror of https://github.com/SinTan1729/chhoto-url synced 2024-12-26 07:38:36 -06:00

Remove the ugly shadow in delete button

This commit is contained in:
Sayantan Santra 2022-11-09 21:49:33 -06:00
parent c81573c3de
commit a9af9fddbb
2 changed files with 7 additions and 1 deletions

View file

@ -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;
}
</style>
</head>

View file

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