title goes above address bar on mobile

This commit is contained in:
Joe Lothan 2026-05-25 23:50:58 -04:00
parent 2256055632
commit 59d4d2c9e0
2 changed files with 30 additions and 0 deletions

View file

@ -306,6 +306,12 @@ function openInlineViewer(tabEl, entry, url) {
toolbar.appendChild(urlbar);
// Mobile: title shown above the URL bar (hidden on desktop via CSS)
const mobileTitle = document.createElement("span");
mobileTitle.className = "url-title-mobile";
mobileTitle.textContent = entry.title || "";
toolbar.appendChild(mobileTitle);
const close = document.createElement("button");
close.className = "iframe-close";
close.textContent = "✕";