v44: Left-justify TLD footer

This commit is contained in:
primal
2026-01-30 16:19:08 -05:00
parent 018f47449f
commit f59e7dcbc3
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1072,7 +1072,7 @@ function initDashboard() {
if (lastDomainBlock) {
let footer = lastDomainBlock.nextElementSibling;
if (!footer || !footer.classList.contains('tld-footer')) {
const footerHtml = `<div class="tld-footer" data-tld="${escapeHtml(tldText)}" style="padding: 6px 10px 12px; color: #555; font-size: 0.85em; cursor: pointer; text-align: center; display: ${isExpanded ? 'block' : 'none'};"><span style="margin-right: 6px; font-size: 0.8em;">▲</span>.${escapeHtml(tldText)}</div>`;
const footerHtml = `<div class="tld-footer" data-tld="${escapeHtml(tldText)}" style="padding: 6px 10px 12px; color: #555; font-size: 0.85em; cursor: pointer; display: ${isExpanded ? 'block' : 'none'};"><span style="margin-right: 6px; font-size: 0.8em;">▲</span>.${escapeHtml(tldText)}</div>`;
lastDomainBlock.insertAdjacentHTML('afterend', footerHtml);
// Add click handler to new footer
footer = lastDomainBlock.nextElementSibling;