This commit is contained in:
Mateusz Gruszczyński committed 2026-11-28 00:46:49 +01:00
1 parent 51631810e1
commit e6176cfce3
28 files changed
+959 -506

No files matched your search

+1 -1
View File
@@ -348,7 +348,7 @@
const restart = t("restartFieldBadge");
panel.querySelectorAll("[data-restart]").forEach(node => { const span = node.querySelector(":scope > span"); if (span && span.dataset.restartBadge !== restart) span.dataset.restartBadge = restart; node.title = t("restartFieldHelp"); });
panel.querySelectorAll(".settings-page .fine:not([role=status]):not(.help-clamp)").forEach(node => {
if (node.id?.endsWith("-status") || node.closest(".certificate-api-credential-item, .acl-picker, .docker-container-state, dialog")) return;
if (node.id?.endsWith("-status") || node.closest(".certificate-api-credential-item, .acl-picker, .docker-container-state, .metric-info-popover, dialog")) return;
if ((node.textContent || "").trim().length < HELP_CLAMP_LENGTH) return;
node.classList.add("help-clamp"); node.tabIndex = 0; node.setAttribute("aria-expanded", "false");
const toggle = () => { const open = !node.classList.contains("is-open"); node.classList.toggle("is-open", open); node.setAttribute("aria-expanded", String(open)); };