Polish route report: spacing, centered header, one-page print, no broken blocks

Adds top spacing so the report clears the sticky nav; centers the logo/title/date into a clean report header. Print: @page margin 0 removes the browser URL/date/page-number chrome, compacts fonts/spacing, drops the non-clickable Key pages block, and adds page-break-inside:avoid so the disclaimer and other blocks no longer split across pages.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
popovskikandClaude Opus 4.8 committed 2026-07-31 13:34:40 +02:00
1 parent b5fc4b37bb
commit 4caccf3ad7
2 files changed
+34 -12

No files matched your search

+2 -2
View File
@@ -213,8 +213,8 @@
'<h2>' + esc(t.stepsHead) + '</h2>' +
'<ol class="route-steps">' + steps + '</ol>' +
(focus.length ? '<h2>' + esc(t.focusHead) + '</h2><ul class="route-focus">' + focus.join('') + '</ul>' : '') +
'<h2>' + esc(t.linksHead) + '</h2>' +
'<div class="route-links">' + keyLinks.join('') + '</div>' +
'<div class="route-links-block"><h2>' + esc(t.linksHead) + '</h2>' +
'<div class="route-links">' + keyLinks.join('') + '</div></div>' +
'<div class="route-disclaimer"><strong>' + esc(t.disclaimerHead) + ':</strong> ' + esc(t.disclaimer) + '</div>' +
'<div class="route-actions no-print">' +
'<button type="button" class="btn btn-primary-orange" data-action="print">' + esc(t.print) + '</button>' +