fix: scale marging

Signed-off-by: Vitor Mattos <vitor@php.rio>
This commit is contained in:
Vitor Mattos 2025-04-08 00:44:54 -03:00
parent 76fe521487
commit be2d02c369
No known key found for this signature in database
GPG key ID: B7AB4B76A7CA7318

View file

@ -277,6 +277,7 @@
:style="{
'font-size': ((templateFontSize * 1.1 * zoomLevel) / 100) + 'px',
display: renderMode === 'GRAPHIC_ONLY' ? 'none' : '',
margin: (0.022 * zoomLevel) + 'px',
}"
@resize="checkPreviewOverflow"
v-html="parsedWithLineBreak" />
@ -672,7 +673,6 @@ export default {
word-wrap: anywhere;
overflow: hidden;
font-family: sans-serif;
margin: 10px;
margin-left: 0;
}
}