Correction bug suppression complète coté lore (et suppression dans tout ce qui est campagne de la partie lore liée).

Améliorations ux :
- Bandeau en haut qui reste accessible lors de la création d'un élément (chapitre, page, scène etc...)
- Mise en place d'un surlignage pour voir su quel élément on est positionné
This commit is contained in:
2026-04-23 14:06:50 +02:00
parent 5121e2d2e3
commit 5bbae9e130
33 changed files with 786 additions and 71 deletions

View File

@@ -15,11 +15,19 @@
}
.detail-header {
// Sticky : les actions Modifier/Supprimer du Lore restent accessibles
// quand on scrolle la grille de dossiers.
position: sticky;
top: 0;
z-index: 10;
background: #0a0a14;
padding: 1rem 0;
border-bottom: 1px solid #1f2937;
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 1.5rem;
margin-bottom: 2.5rem;
margin-bottom: 1.5rem;
.header-texts { flex: 1; min-width: 0; }

View File

@@ -77,7 +77,7 @@ export class LoreDetailComponent implements OnInit, OnDestroy {
}
navigateToFolder(nodeId: string): void {
this.router.navigate(['/lore', this.lore!.id, 'folders', nodeId, 'edit']);
this.router.navigate(['/lore', this.lore!.id, 'folders', nodeId]);
}
// ─────────────── Édition / suppression du Lore ───────────────