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:
parent
c81573c3de
commit
a9af9fddbb
2 changed files with 7 additions and 1 deletions
|
@ -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>
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue