From e257436a5a9c09de64dc6b65254332fdfa5cb3d2 Mon Sep 17 00:00:00 2001 From: Pablo Moreno Date: Mon, 13 Jul 2026 14:42:44 +0200 Subject: [PATCH] feat: improved user feedback --- css/main.css | 6 +++ index.html | 20 ++++++--- js/section-types.js | 103 ++++++++++++++++++++++++++++++++++++++------ js/sections.js | 19 ++++++-- js/storage.js | 23 +++++++++- 5 files changed, 150 insertions(+), 21 deletions(-) diff --git a/css/main.css b/css/main.css index e81d105..496abf1 100644 --- a/css/main.css +++ b/css/main.css @@ -67,6 +67,12 @@ left: 0; width: 100%; border: none; + /* @page tiene margin: 0 (ver más abajo), así que sin esto el contenido + llegaría hasta el borde físico de la hoja. Se pone aquí (como + padding del propio contenido) en vez de en @page porque el soporte + de "margin" en @page es más inconsistente entre navegadores. */ + padding: 2cm; + box-sizing: border-box; } #preview-title { diff --git a/index.html b/index.html index 73ca69c..520b059 100644 --- a/index.html +++ b/index.html @@ -8,9 +8,9 @@ - + @@ -30,11 +30,20 @@ - + + + +