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

Fix bad alignment of the contacts #82

Merged

Conversation

caemor
Copy link
Contributor

@caemor caemor commented Nov 26, 2024

There was an issue that sometimes the contacts didn't fully align to the right.
I simplified the separation process by pushing each used contact field to the contacts list and then merging them together with the .join(separator) Typst function.
This should make it more flexible for the different variations of selected contacts fields.

@DeveloperPaul123
Copy link
Owner

Thanks for this, I'll be able to test it out soon.

Do you have examples where the alignment was previously broken? Would be good to add this to the tests.

@caemor
Copy link
Contributor Author

caemor commented Nov 26, 2024

Just removing the website should lead to that issue (and if you include the website, there is a strange whitespace in front of the website/the separators are not spaced equally).

E.g.: https://typst.app/project/wn1hlRi8cXRt1r8yRBVF6E

@DeveloperPaul123
Copy link
Owner

I see, thanks for that. Is this issue present in the resume as well? Or just the coverletter?

@DeveloperPaul123
Copy link
Owner

Never mind, those are centered. This looks good to me! I'll add this to the test cases though so changes can be caught. Thanks for the PR!

@DeveloperPaul123 DeveloperPaul123 merged commit 423a646 into DeveloperPaul123:main Nov 27, 2024
1 check passed
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