mirror of
https://github.com/SinTan1729/chhoto-url
synced 2024-12-26 23:58:35 -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"] {
|
td[name="deleteBtn"] {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
td[name="deleteBtn"] button {
|
||||||
|
border-radius: 50%;
|
||||||
|
border-style: solid;
|
||||||
|
cursor: pointer;
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
|
@ -59,7 +59,6 @@ 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 a new issue