mirror of
https://github.com/SinTan1729/chhoto-url
synced 2025-04-19 11:20:00 -05:00
Compare commits
No commits in common. "fd74a941d93ec948bfcaf321ecf40780d4cb89d7" and "5a5a1bc7752a0bed1b23779f3da1833878d08c1c" have entirely different histories.
fd74a941d9
...
5a5a1bc775
4 changed files with 16 additions and 18 deletions
2
actix/Cargo.lock
generated
2
actix/Cargo.lock
generated
|
@ -475,7 +475,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
|||
|
||||
[[package]]
|
||||
name = "chhoto-url"
|
||||
version = "5.0.8"
|
||||
version = "5.0.7"
|
||||
dependencies = [
|
||||
"actix-files",
|
||||
"actix-session",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "chhoto-url"
|
||||
version = "5.0.8"
|
||||
version = "5.0.7"
|
||||
edition = "2021"
|
||||
authors = ["Sayantan Santra <sayantan[dot]santra689[at]gmail[dot]com"]
|
||||
license = "mit"
|
||||
|
|
|
@ -126,7 +126,6 @@ const A_SHORT_INSECURE = (s, t) => `<a href="${t}/${s}">${s}</a>`;
|
|||
|
||||
const deleteButton = (shortUrl) => {
|
||||
const td = document.createElement("td");
|
||||
const div = document.createElement("div");
|
||||
const btn = document.createElement("button");
|
||||
|
||||
btn.innerHTML = "×";
|
||||
|
@ -143,8 +142,7 @@ const deleteButton = (shortUrl) => {
|
|||
};
|
||||
td.setAttribute("name", "deleteBtn");
|
||||
td.setAttribute("label", "Delete");
|
||||
div.appendChild(btn);
|
||||
td.appendChild(div);
|
||||
td.appendChild(btn);
|
||||
return td;
|
||||
};
|
||||
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
font-family: Montserrat;
|
||||
font-style: normal;
|
||||
src: url('Montserrat.ttf');
|
||||
}
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Montserrat;
|
||||
font-style: italic;
|
||||
src: url('Montserrat-Italic.ttf');
|
||||
}
|
||||
}
|
||||
|
||||
* {
|
||||
font-family: Montserrat;
|
||||
|
@ -28,18 +28,14 @@ table tr td div {
|
|||
overflow: auto;
|
||||
}
|
||||
|
||||
td[name="deleteBtn"] div {
|
||||
td[name="deleteBtn"] {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
td[name="deleteBtn"] {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
td[name="deleteBtn"] div button {
|
||||
border-radius: 100%;
|
||||
td[name="deleteBtn"] button {
|
||||
border-radius: 50%;
|
||||
aspect-ratio: 1;
|
||||
border-style: solid;
|
||||
cursor: pointer;
|
||||
|
@ -102,7 +98,7 @@ dialog form {
|
|||
.pure-control-group input {
|
||||
width: 98%;
|
||||
}
|
||||
|
||||
|
||||
table tr {
|
||||
border-bottom: 1px solid #999;
|
||||
}
|
||||
|
@ -114,8 +110,6 @@ dialog form {
|
|||
table td {
|
||||
display: flex;
|
||||
justify-content: left !important;
|
||||
width: 98vw;
|
||||
padding: .5em .1em !important;
|
||||
}
|
||||
|
||||
table td::before {
|
||||
|
@ -126,7 +120,13 @@ dialog form {
|
|||
text-align: left;
|
||||
}
|
||||
|
||||
td[name="deleteBtn"] button {
|
||||
border-radius: 50%;
|
||||
aspect-ratio: 1;
|
||||
}
|
||||
|
||||
.pure-table caption {
|
||||
padding-top: 0px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue