Compare commits

..

2 commits

Author SHA1 Message Date
Brent Schroeter
daf0782625 add fade/shadow effect for table y-overflow 2026-01-19 21:23:35 +00:00
Brent Schroeter
fad7ca262f hide hidden record count when 0 2026-01-19 21:15:47 +00:00
2 changed files with 5 additions and 3 deletions

View file

@ -165,6 +165,7 @@
.table-viewer__main { .table-viewer__main {
grid-area: main; grid-area: main;
overflow-y: auto; overflow-y: auto;
padding-bottom: 16px;
} }
.table-viewer__row { .table-viewer__row {
@ -280,18 +281,19 @@
} }
.table-viewer__count { .table-viewer__count {
opacity: 0.5; color: #888;
} }
.table-viewer__inserter { .table-viewer__inserter {
box-shadow: 0 -16px 16px #fff;
grid-area: inserter; grid-area: inserter;
margin-bottom: 2rem; margin-bottom: 2rem;
.table-viewer__inserter-help { .table-viewer__inserter-help {
color: #888;
font-size: 1rem; font-size: 1rem;
font-weight: normal; font-weight: normal;
margin: 8px; margin: 8px;
opacity: 0.5;
} }
.table-viewer__inserter-main { .table-viewer__inserter-main {

View file

@ -669,7 +669,7 @@
</div> </div>
<div class="table-viewer__count padded padded-sm"> <div class="table-viewer__count padded padded-sm">
{lazy_data.count} records total {lazy_data.count} records total
{#if lazy_data.count > lazy_data.rows.length || true} {#if lazy_data.count > lazy_data.rows.length}
({lazy_data.count - lazy_data.rows.length} hidden; use filters to narrow ({lazy_data.count - lazy_data.rows.length} hidden; use filters to narrow
your search) your search)
{/if} {/if}