mirror of
https://github.com/minoplhy/chhoto-url.git
synced 2024-11-22 17:26:45 +00:00
Remove the ugly shadow in delete button
This commit is contained in:
parent
c81573c3de
commit
a9af9fddbb
@ -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 New Issue
Block a user