CCALI / a2jdat

This repo hosts the distributable production version of the A2J Document Assembly Tool (DAT). The document assembly tool is an optional piece of software used for producing pdf documents at the end of A2J Author Guided Interviews.
https://www.a2jauthor.org
Other
3 stars 1 forks source link

Variables are slightly less left aligned than rest of text in rich text element #129

Open JessicaFrank opened 1 year ago

JessicaFrank commented 1 year ago

After 2/23/23 code push to staging, an additional spacing bug arose.

In the text editor, the variables and the plain text look to be aligned vertically/left centered, but when the document is assembled, the values are slightly further left than the rest of the text. It looks like the variables have a smaller indent/margin than the rest of the text.

This can be seen in the standalone viewer (tested on the azure instance -http://viewerdatlhi.a2jauthor.org/a2j-viewer/viewer/index.php) and in Preview on staging with the 2/23/23 code.

Attached is a simple interview with a text template to show the difference.

image Spacing Example 03-10-23.zip spacing-example-03-10-23-test-assemble.pdf