mirror of
https://github.com/SinTan1729/chhoto-url
synced 2024-12-26 23:58:35 -06:00
chg: Disable column separators and right align hits
This commit is contained in:
parent
3a712f812a
commit
9a520c122e
3 changed files with 10 additions and 1 deletions
|
@ -52,7 +52,7 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td id="short-url-header">Short URL (click to copy)</td>
|
<td id="short-url-header">Short URL (click to copy)</td>
|
||||||
<td>Long URL</td>
|
<td>Long URL</td>
|
||||||
<td>Hits</td>
|
<td name="hitsColumn">Hits</td>
|
||||||
<td name="deleteBtn">×</td>
|
<td name="deleteBtn">×</td>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
|
@ -97,6 +97,7 @@ const TR = (row, site) => {
|
||||||
}
|
}
|
||||||
hitsTD = TD(row.hits);
|
hitsTD = TD(row.hits);
|
||||||
hitsTD.setAttribute("label", "Hits");
|
hitsTD.setAttribute("label", "Hits");
|
||||||
|
hitsTD.setAttribute("name", "hitsColumn");
|
||||||
const btn = deleteButton(row.short);
|
const btn = deleteButton(row.short);
|
||||||
|
|
||||||
tr.appendChild(shortTD);
|
tr.appendChild(shortTD);
|
||||||
|
|
|
@ -20,6 +20,14 @@ table tr td div {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.pure-table td {
|
||||||
|
border-left: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
td[name="hitsColumn"] {
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
td[name="deleteBtn"] div {
|
td[name="deleteBtn"] div {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
Loading…
Reference in a new issue