title goes above address bar on mobile
This commit is contained in:
parent
2256055632
commit
59d4d2c9e0
2 changed files with 30 additions and 0 deletions
|
|
@ -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 = "✕";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue