Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Diminishing left-margin when inserting lists #331

Merged
merged 1 commit into from
Nov 23, 2014
Merged

Diminishing left-margin when inserting lists #331

merged 1 commit into from
Nov 23, 2014

Conversation

laszbalo
Copy link
Contributor

Every time when I insert a list, the x coordinate of the document moves to the left.

If I add add the following 3 lists to the document:
doc.list([1, 2, [1, 2]]);
doc.list([1, 2, [1, 2]]);
doc.list([1, 2, [1, 2]]);

then this is how the result looks like:

diminishing-margins

Not subtracting the indent after list insertion fixes this problem.

devongovett added a commit that referenced this pull request Nov 23, 2014
Diminishing left-margin when inserting lists
@devongovett devongovett merged commit 892ccf9 into foliojs:master Nov 23, 2014
@devongovett
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants