Remove the ugly shadow in delete button

This commit is contained in:
SinTan1729 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"] { 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>

View File

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