reveal full env vals

This commit is contained in:
Chris Wanstrath 2026-02-10 07:42:01 -08:00
parent 579b082b48
commit 725f893592

View File

@ -276,10 +276,14 @@ document.querySelectorAll('[data-reveal]').forEach(btn => {
if (hidden) {
valueEl.textContent = hidden;
valueEl.dataset.hidden = '';
valueEl.style.whiteSpace = 'pre-wrap';
valueEl.style.wordBreak = 'break-all';
btn.textContent = 'Hide';
} else {
valueEl.dataset.hidden = valueEl.textContent;
valueEl.textContent = '••••••••';
valueEl.style.whiteSpace = 'nowrap';
valueEl.style.wordBreak = '';
btn.textContent = 'Reveal';
}
});