Skip to content
Snippets Groups Projects
Commit 1b0a9679 authored by Lucie Bader's avatar Lucie Bader
Browse files

Tooltip langues suivies

parent 3d577f3b
No related branches found
No related tags found
1 merge request!8Test final
......@@ -352,6 +352,12 @@
button:disabled .tooltip {
pointer-events: auto !important;
}
.tooltip-langues-suivies {
left: 50% !important;
transform: translateX(-28%) !important;
}
</style>
</head>
<body>
......
......@@ -386,3 +386,18 @@ function handleWorkerMessage(event) {
return;
}
}
document.addEventListener("DOMContentLoaded", () => {
const optionRows = document.querySelectorAll('.option-row label');
optionRows.forEach(label => {
if (label.textContent.trim() === "Langues suivies") {
label.classList.add("tooltip-container");
const tooltip = document.createElement("span");
tooltip.className = "tooltip tooltip-langues-suivies";
tooltip.textContent = "Choisissez une ou plusieurs langues parmi celles de vos lexiques personnels";
label.appendChild(tooltip);
}
});
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment