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>
|
||||
<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">×</td>
|
||||
</tr>
|
||||
</thead>
|
||||
|
@ -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);
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user