1
0
mirror of https://github.com/garraflavatra/rolens.git synced 2025-01-18 13:07:58 +00:00

Make table headers stick to the top

This commit is contained in:
Romein van Buren 2023-06-25 16:11:51 +02:00
parent 8bebdfccd8
commit 79568bc5f4
Signed by: romein
GPG Key ID: 0EFF8478ADDF6C49
2 changed files with 7 additions and 4 deletions

View File

@ -4,6 +4,7 @@
* Made it possible (again) to input loose JSON into find view inputs, i.e. `{ key: 'val' }` or `{ 'num': 2 }` besides `{ "strict": "json" }`.
* Improved error logging and dialogs.
* Fixed host editing bug.
* Made table headers stick to the top.
## [v0.2.1]

View File

@ -107,13 +107,15 @@
background-color: #fff;
}
table thead {
border-bottom: 2px solid #ccc;
}
th {
thead th {
font-weight: 600;
text-align: left;
padding: 2px;
/* border-bottom: 2px solid #ccc; */
box-shadow: 0 2px #ccc;
background-color: #fff;
position: sticky;
top: 0;
}
.grid :global(.blankstate) {