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:
@@ -373,29 +373,13 @@ table.cell-table th {
|
|||||||
overflow: visible !important;
|
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 {
|
.marches_table .cell-table tr:nth-child(even) td {
|
||||||
background-color: rgb(255 240 240 / 40%);
|
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 {
|
.marches_table .dt-hscroll {
|
||||||
position: sticky;
|
height: 12px;
|
||||||
top: 0;
|
|
||||||
z-index: 11; /* au-dessus des en-têtes sticky */
|
|
||||||
height: 16px;
|
|
||||||
background-color: #e0e0e0;
|
background-color: #e0e0e0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|||||||
Reference in New Issue
Block a user