diff --git a/public/pdf.html b/public/pdf.html
index 10eb724..8d04eb8 100644
--- a/public/pdf.html
+++ b/public/pdf.html
@@ -1837,10 +1837,13 @@
function showResult(data) {
if (data.downloadUrl) {
document.getElementById('downloadLink').href = data.downloadUrl;
+ document.getElementById('downloadLink').setAttribute('download', '');
document.getElementById('downloadLink').style.display = '';
if (data.size) document.getElementById('resultSize').textContent = formatSize(data.size);
- stepConfig.style.display = 'none';
+ // Show result section (it's inside stepConfig, so don't hide stepConfig)
stepResult.style.display = 'block';
+ // Scroll to result
+ stepResult.scrollIntoView({ behavior: 'smooth', block: 'center' });
}
}