Fix: Update save path display to include title attribute for better accessibility

This commit is contained in:
MasterAcnolo
2026-04-12 17:40:01 +02:00
parent 912f4042e5
commit 8fe4e7c38a
2 changed files with 6 additions and 3 deletions

View File

@@ -14,6 +14,7 @@ window.addEventListener("DOMContentLoaded", async () => {
async function applyPathFromBack(path) { async function applyPathFromBack(path) {
savePathElem.textContent = path; savePathElem.textContent = path;
savePathElem.title = path;
hidden.value = path; hidden.value = path;
localStorage.setItem("customDownloadPath", path); // UX only localStorage.setItem("customDownloadPath", path); // UX only
} }

View File

@@ -17,9 +17,11 @@
border-radius: 6px; border-radius: 6px;
font-family: monospace; font-family: monospace;
border: 1px dashed var(--form-input-border-color); border: 1px dashed var(--form-input-border-color);
word-break: break-all; display: inline-flex;
display: inline-block; max-width: clamp(200px, 60vw, 600px);
max-width: 80%; overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
} }