diff --git a/web/static/app.css b/web/static/app.css index 15bf594..65393c9 100644 --- a/web/static/app.css +++ b/web/static/app.css @@ -94,7 +94,7 @@ body { .toggle { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; padding: 5px 8px; border-radius: 7px; } .toggle:hover { background: var(--surface-2); } .toggle input { accent-color: var(--accent); } -.row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; padding: 4px 0; } +.deck .row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; padding: 4px 0; } .row input[type="text"] { border: 1px solid var(--border); border-radius: 7px; padding: 5px 8px; background: var(--bg); color: var(--fg); font: inherit; font-size: 12.5px; width: 130px; @@ -137,17 +137,11 @@ body { } .search input { border: none; outline: none; background: transparent; color: var(--fg); font: inherit; font-size: 13px; width: 100%; } table { width: 100%; border-collapse: collapse; font-size: 13px; table-layout: fixed; } -th:nth-child(1), td:nth-child(1) { width: 130px; } -th:nth-child(2), td:nth-child(2) { width: auto; } -th:nth-child(3), td:nth-child(3) { width: 80px; } -th:nth-child(4), td:nth-child(4) { width: 80px; } -th:nth-child(5), td:nth-child(5) { width: 64px; } -th:nth-child(6), td:nth-child(6) { width: 90px; } th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-fg); padding: 10px 16px; border-bottom: 1px solid var(--border); font-weight: 600; } -td { padding: 10px 16px; border-bottom: 1px solid var(--border); } +td { padding: 10px 16px; border-bottom: 1px solid var(--border); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } tr:last-child td { border-bottom: none; } tr.row { cursor: pointer; } tr.row:hover td { background: var(--surface-2); } diff --git a/web/templates/history.html b/web/templates/history.html index 9dd2e03..7156b42 100644 --- a/web/templates/history.html +++ b/web/templates/history.html @@ -9,6 +9,7 @@
| Paste | Description | Language | Size | Views | Created |
|---|