feat: improved printing settings
This commit is contained in:
+8
-3
@@ -250,7 +250,7 @@ const SECTION_TYPES = [
|
||||
if (!img.src || img.classList.contains('hidden')) return;
|
||||
const clone = document.createElement('img');
|
||||
clone.src = img.src;
|
||||
clone.className = 'max-w-full max-h-48 object-contain rounded-box my-2';
|
||||
clone.className = 'max-w-full max-h-96 object-contain rounded-box my-2';
|
||||
target.appendChild(clone);
|
||||
},
|
||||
},
|
||||
@@ -357,8 +357,13 @@ export function buildSectionsFrom(sectionsData, container = sectionsContainer) {
|
||||
// mismo mecanismo que restaura un patrón guardado.
|
||||
const DEFAULT_SECTIONS = [
|
||||
{ type: 'image', dataUrl: '' },
|
||||
{ type: 'title', text: {} },
|
||||
{ type: 'materials', materials: [] },
|
||||
{
|
||||
type: 'group',
|
||||
children: [
|
||||
{ type: 'title', text: {} },
|
||||
{ type: 'materials', materials: [] },
|
||||
]
|
||||
},
|
||||
{
|
||||
type: 'group',
|
||||
children: [
|
||||
|
||||
Reference in New Issue
Block a user