diff --git a/resources/views/business/pages/partials/directory-table.blade.php b/resources/views/business/pages/partials/directory-table.blade.php index 28bd2e97..cff0b00d 100644 --- a/resources/views/business/pages/partials/directory-table.blade.php +++ b/resources/views/business/pages/partials/directory-table.blade.php @@ -89,7 +89,8 @@ } .directory-table-scroll { - overflow-x: auto; + max-height: calc(100vh - 20rem); + overflow: auto; scrollbar-color: var(--vip-content-accent, #b9954f) #efede8; scrollbar-width: thin; } @@ -126,10 +127,14 @@ } .directory-table thead th { + position: sticky; + top: 0; + z-index: 2; background: var(--vip-content-accent-soft, #f7f0de); color: var(--vip-content-ink, #171717); font-size: 0.75rem; font-weight: 600; + box-shadow: 0 1px 0 var(--vip-border, #d8d2c7); } .directory-table tbody tr:hover {