Compare commits
3
Commits
a8c1516890
...
5039a76bec
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5039a76bec | ||
|
|
a49127eff2 | ||
|
|
8636a23f49 |
@@ -528,11 +528,11 @@ td .id-link:hover { color: var(--accent); }
|
||||
th.sortable { cursor: pointer; user-select: none; }
|
||||
th.sortable:hover { color: var(--fg); }
|
||||
th.sortable { cursor: pointer; user-select: none; white-space: nowrap; }
|
||||
/* #101: arrow sits LEFT of the label, further spaced, vertically centered,
|
||||
and absolutely positioned so it never shifts the label text. */
|
||||
th.sortable { position: relative; padding-left: 24px; }
|
||||
/* #209: arrow sits RIGHT of the label, vertically centered, and absolutely
|
||||
positioned so it never shifts the label text; label aligns with column contents. */
|
||||
th.sortable { position: relative; padding-right: 24px; }
|
||||
th.sortable .sort-ind {
|
||||
position: absolute; left: 8px; top: 50%; transform: translateY(-50%);
|
||||
position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
|
||||
display: inline-block; width: 0; height: 0;
|
||||
border-left: 5px solid transparent; border-right: 5px solid transparent;
|
||||
}
|
||||
@@ -832,6 +832,9 @@ button[type="submit"]:focus-visible,
|
||||
.col-a { width: 260px; } .col-b { width: 140px; } .col-c { width: 120px; }
|
||||
.col-d { width: 96px; } .col-d2 { width: 150px; } .col-e { width: 190px; }
|
||||
.col-f { width: 100px; } .col-g { width: 190px; }
|
||||
/* #210: /mine rows render a delete button cell that had no declared column,
|
||||
so under table-layout:fixed it overlapped the ID column. */
|
||||
.col-del { width: 64px; }
|
||||
.spacer-flex { flex: 1; }
|
||||
.input-num { width: 80px; }
|
||||
.input-num-sm { width: 64px; }
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<div class="search"><input id="filter" placeholder="Search…"><span class="search-spinner" id="search-spinner"></span></div>
|
||||
<div class="float">
|
||||
<table>
|
||||
<colgroup><col class="col-a"><col class="col-b"><col class="col-c"><col class="col-d2"><col class="col-e"><col class="col-f"></colgroup>
|
||||
<colgroup><col class="col-a"><col class="col-b"><col class="col-c"><col class="col-d2"><col class="col-e"><col class="col-f"><col class="col-del"></colgroup>
|
||||
<thead><tr>
|
||||
<th data-sort="title" class="sortable"><span class="sort-ind"></span>Paste</th>
|
||||
<th data-sort="language" class="sortable"><span class="sort-ind"></span>Language</th>
|
||||
@@ -16,6 +16,7 @@
|
||||
<th data-sort="created_at" class="sortable"><span class="sort-ind"></span>Created</th>
|
||||
<th data-sort="custom_slug" class="sortable"><span class="sort-ind"></span>URL</th>
|
||||
<th data-sort="id" class="sortable"><span class="sort-ind"></span>ID</th>
|
||||
<th aria-label="Delete"></th>
|
||||
</tr></thead>
|
||||
<tbody id="rows"></tbody>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user