From 71b4cc3bdb6b08f33138f0764624c0f9c090af05 Mon Sep 17 00:00:00 2001 From: Spythere Date: Sat, 22 Mar 2025 16:10:37 +0100 Subject: [PATCH] fix: sticky table header bug --- src/components/StationsView/StationTable.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/StationsView/StationTable.vue b/src/components/StationsView/StationTable.vue index 0a8d925..2a37cc8 100644 --- a/src/components/StationsView/StationTable.vue +++ b/src/components/StationsView/StationTable.vue @@ -429,14 +429,16 @@ table { min-width: 1250px; white-space: wrap; + thead { + position: sticky; + top: 0; + } + thead tr { background-color: $bgCol; } thead th { - position: sticky; - top: 0; - &.station { width: 12em; }