v44: Left-justify TLD footer
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user