fix(tableaux): supprimer sticky headers, barre 12px #82

- 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 <noreply@anthropic.com>
This commit is contained in:
Colin Maudry
2026-06-23 19:46:43 +02:00
parent 2e22fcabe9
commit 5e64a4553d
+2 -18
View File
@@ -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;