Skip to content

Commit

Permalink
Fix text wrap for text element
Browse files Browse the repository at this point in the history
  • Loading branch information
maurofmferrao committed Nov 8, 2024
1 parent 0de66da commit 00b3520
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions modules/templates/global-elements.xml
Original file line number Diff line number Diff line change
Expand Up @@ -260,19 +260,14 @@
{{/if}}
{{#if lineHeight}}line-height: {{lineHeight}};{{/if}}
{{#if textWrap}}
white-space: break-spaces;
{{#if justify}}
text-align: justify;
{{/if}}
{{else}}
white-space: nowrap;
{{/if}}
">
{{#if escapeHtml}}
{{text}}
{{else}}
{{{text}}}
{{/if}}
</div>
">{{#if escapeHtml}}{{text}}{{else}}{{{text}}}{{/if}}</div>
</div>
]]></hbs>
<onTemplateRender><![CDATA[
Expand Down

0 comments on commit 00b3520

Please sign in to comment.