diff --git a/templates/index.html b/templates/index.html index f7ea8ee..1e2ff2f 100644 --- a/templates/index.html +++ b/templates/index.html @@ -11,10 +11,10 @@ background: #e8dbcb; color: #071330; } - .table-container { width: 100%; overflow-x: auto; } + .table-container { width: 100%; overflow-x: auto; max-height: 70vh; } table { border-collapse: collapse; width: 100%; min-width: 700px; margin-bottom: 1em; background: #fff; } th, td { border: 1px solid #c3d6db; padding: 0.5em; text-align: center; } - th { background: #c3d6db; color: #071330; } + th { background: #c3d6db; color: #071330; position: sticky; top: 0; z-index: 2; } .clickable { cursor: pointer; background: #e7f7e7; transition: background 0.15s, box-shadow 0.15s; } .clickable:hover { background: #dbeedb;