fix: freeze table header in Chrome by using overflow: auto on container

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Greg 2026-05-10 09:52:54 +02:00
parent 6d6c3b232b
commit e27bdc9678

View File

@ -13,7 +13,7 @@
background: #222831;
color: #DFD0B8;
}
.table-container { width: 100%; overflow-x: auto; max-height: 70vh; }
.table-container { width: 100%; overflow: auto; max-height: 70vh; }
table { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 700px; margin-bottom: 1em; background: #393E46; color: #DFD0B8; border-radius: 18px; overflow: hidden; }
th, td { border: 1px solid #393E46; padding: 0.5em; text-align: center; border-radius: 12px; }
th { background: #393E46; color: #DFD0B8; position: sticky; top: 0; z-index: 2; }