correction subtitles & notes

This commit is contained in:
Julie Blanc 2026-03-16 15:20:27 +01:00
parent 2f5da421b5
commit 7851d1a4ec
4 changed files with 5 additions and 5 deletions

View file

@ -37,6 +37,7 @@ h3, h4{
padding-left: 0.75ch; padding-left: 0.75ch;
position: relative; position: relative;
left: 6px; left: 6px;
overflow-wrap: anywhere;
} }
.h3-text{ .h3-text{

View file

@ -38,10 +38,9 @@ function inlineNotesHandler(params){
createNotes(content, input, type); createNotes(content, input, type);
let noteContainer = content.querySelector(params.containerNotes); content.querySelectorAll(params.containerNotes).forEach(noteContainer => {
if(noteContainer){
noteContainer.remove(); noteContainer.remove();
} });
} }

View file

@ -922,7 +922,7 @@
<div class="bibliographie"> <div class="bibliographie">
<h3>Bibliographie +</h3> <h3>Bibliographie</h3>

View file

@ -63,7 +63,7 @@ export default class itemsDecor extends Handler {
// Reconstruire le titre avec des .h3-line // Reconstruire le titre avec des .h3-line
subtitle.innerHTML = ""; subtitle.innerHTML = "";
segments.forEach(nodes => { segments.filter(seg => seg.length > 0).forEach(nodes => {
const line = this.createLine(symbol, nodes); const line = this.createLine(symbol, nodes);
subtitle.appendChild(line); subtitle.appendChild(line);