diff --git a/app/javascript/template_builder/area.vue b/app/javascript/template_builder/area.vue index eba4737c..8ca14aba 100644 --- a/app/javascript/template_builder/area.vue +++ b/app/javascript/template_builder/area.vue @@ -198,7 +198,7 @@ width="100%" height="100%" class="opacity-50" - :style="{ maxHeight: isInlineSize ? '5cqmin' : '40px' }" + :style="{ maxHeight: isInlineSize ? '4.4cqmin' : '40px' }" /> diff --git a/app/javascript/template_builder/builder.vue b/app/javascript/template_builder/builder.vue index d2605853..7ddd1372 100644 --- a/app/javascript/template_builder/builder.vue +++ b/app/javascript/template_builder/builder.vue @@ -652,21 +652,18 @@ >
- - {{ Math.round(zoomLevel * 100) }}% + + + {{ Math.round(zoomLevel * 100) }}% + -
- -
+ +
@@ -2068,7 +2065,7 @@ export default { event.preventDefault() const oldZoom = this.zoomLevel - const nextZoom = Math.max(1, Math.min(3, oldZoom - event.deltaY * 0.002)) + const nextZoom = Math.max(1, Math.min(3, oldZoom - event.deltaY * 0.006)) if (nextZoom === oldZoom) return diff --git a/app/javascript/template_builder/i18n.js b/app/javascript/template_builder/i18n.js index c4259a27..53066f5c 100644 --- a/app/javascript/template_builder/i18n.js +++ b/app/javascript/template_builder/i18n.js @@ -219,8 +219,7 @@ const en = { revisions: 'Revisions', apply: 'Apply', no_revisions_yet: 'No revisions yet', - viewing_revision_from: 'Viewing revision from {date}', - reset_zoom: 'Reset zoom' + viewing_revision_from: 'Viewing revision from {date}' } const es = { @@ -444,8 +443,7 @@ const es = { revisions: 'Revisiones', apply: 'Aplicar', no_revisions_yet: 'Aún no hay revisiones', - viewing_revision_from: 'Viendo revisión del {date}', - reset_zoom: 'Restablecer zoom' + viewing_revision_from: 'Viendo revisión del {date}' } const it = { @@ -669,8 +667,7 @@ const it = { revisions: 'Revisioni', apply: 'Applica', no_revisions_yet: 'Nessuna revisione ancora', - viewing_revision_from: 'Visualizzazione revisione del {date}', - reset_zoom: 'Reimposta zoom' + viewing_revision_from: 'Visualizzazione revisione del {date}' } const pt = { @@ -894,8 +891,7 @@ const pt = { revisions: 'Revisões', apply: 'Aplicar', no_revisions_yet: 'Nenhuma revisão ainda', - viewing_revision_from: 'Visualizando revisão de {date}', - reset_zoom: 'Redefinir zoom' + viewing_revision_from: 'Visualizando revisão de {date}' } const fr = { @@ -1119,8 +1115,7 @@ const fr = { revisions: 'Révisions', apply: 'Appliquer', no_revisions_yet: 'Aucune révision pour le moment', - viewing_revision_from: 'Affichage de la révision du {date}', - reset_zoom: 'Réinitialiser le zoom' + viewing_revision_from: 'Affichage de la révision du {date}' } const de = { @@ -1344,8 +1339,7 @@ const de = { revisions: 'Revisionen', apply: 'Anwenden', no_revisions_yet: 'Noch keine Revisionen', - viewing_revision_from: 'Ansicht der Revision vom {date}', - reset_zoom: 'Zoom zurücksetzen' + viewing_revision_from: 'Ansicht der Revision vom {date}' } const nl = { @@ -1569,8 +1563,7 @@ const nl = { revisions: 'Revisies', apply: 'Toepassen', no_revisions_yet: 'Nog geen revisies', - viewing_revision_from: 'Revisie van {date} bekijken', - reset_zoom: 'Zoom terugzetten' + viewing_revision_from: 'Revisie van {date} bekijken' } export { en, es, it, pt, fr, de, nl }