mirror of
https://github.com/minoplhy/chhoto-url.git
synced 2024-11-22 09:16:46 +00:00
chg: Disable column separators and right align hits
This commit is contained in:
parent
3a712f812a
commit
9a520c122e
@ -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 New Issue
Block a user