diff --git a/resources/index.html b/resources/index.html index e4d8582..2b073de 100644 --- a/resources/index.html +++ b/resources/index.html @@ -52,7 +52,7 @@ Short URL (click to copy) Long URL - Hits + Hits × diff --git a/resources/static/script.js b/resources/static/script.js index 35350bf..b7d19ca 100644 --- a/resources/static/script.js +++ b/resources/static/script.js @@ -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); diff --git a/resources/static/styles.css b/resources/static/styles.css index c4740f5..4fc3411 100644 --- a/resources/static/styles.css +++ b/resources/static/styles.css @@ -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;