chg: Disable column separators and right align hits

This commit is contained in:
Sayantan Santra 2024-03-31 00:12:48 -05:00
parent 3a712f812a
commit 9a520c122e
Signed by: SinTan1729
GPG Key ID: EB3E68BFBA25C85F
3 changed files with 10 additions and 1 deletions

View File

@ -52,7 +52,7 @@
<tr>
<td id="short-url-header">Short URL (click to copy)</td>
<td>Long URL</td>
<td>Hits</td>
<td name="hitsColumn">Hits</td>
<td name="deleteBtn">&times;</td>
</tr>
</thead>

View File

@ -97,6 +97,7 @@ const TR = (row, site) => {
}
hitsTD = TD(row.hits);
hitsTD.setAttribute("label", "Hits");
hitsTD.setAttribute("name", "hitsColumn");
const btn = deleteButton(row.short);
tr.appendChild(shortTD);

View File

@ -20,6 +20,14 @@ table tr td div {
overflow: auto;
}
.pure-table td {
border-left: none;
}
td[name="hitsColumn"] {
text-align: right;
}
td[name="deleteBtn"] div {
display: flex;
align-items: center;