From 5e64a4553dd11aceec07c7a3d9f8bb80acf55a86 Mon Sep 17 00:00:00 2001 From: Colin Maudry Date: Tue, 23 Jun 2026 19:46:43 +0200 Subject: [PATCH] fix(tableaux): supprimer sticky headers, barre 12px #82 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Retire position:sticky/z-index sur th.dash-header (abandonnés avec le scroll contenu : overflow-x:hidden crée un scroll container qui empêche le sticky page-level, et le z-index provoquait un recouvrement des champs de filtre) - Retire la règle :has() devenue inutile - Barre de scroll réduite à 12px Co-Authored-By: Claude Opus 4.8 --- src/assets/css/style.css | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/src/assets/css/style.css b/src/assets/css/style.css index 9d05feb..d4a5056 100644 --- a/src/assets/css/style.css +++ b/src/assets/css/style.css @@ -373,29 +373,13 @@ table.cell-table th { overflow: visible !important; } -/* En-têtes de colonnes collants en haut de la fenêtre */ -.marches_table th.dash-header { - position: sticky; - top: 0; - z-index: 10; - background-color: #fff; -} - -/* Quand la barre de scroll est visible, pousser les en-têtes en dessous */ -.marches_table:has(.dt-hscroll:not(.is-hidden)) th.dash-header { - top: 16px; -} - .marches_table .cell-table tr:nth-child(even) td { background-color: rgb(255 240 240 / 40%); } -/* Barre de défilement horizontale, collée en haut au-dessus des en-têtes */ +/* Barre de défilement horizontale en haut du tableau */ .marches_table .dt-hscroll { - position: sticky; - top: 0; - z-index: 11; /* au-dessus des en-têtes sticky */ - height: 16px; + height: 12px; background-color: #e0e0e0; overflow: hidden; cursor: pointer;