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 post body max height #548

Merged
merged 1 commit into from
Feb 25, 2024
Merged

fix post body max height #548

merged 1 commit into from
Feb 25, 2024

Conversation

diegoberaldin
Copy link
Owner

Post body max lines was not working any more after #536 (there was even a crash fixed in #547 along the way). This PR applies a max height constraint to markdown containers if the maxLines parameter is passed. It is not possible, as in the previous implementation, to account for exact lines because I have no control on the underlying renderer, but for the moment this should do.

@diegoberaldin diegoberaldin merged commit ccacbe2 into development Feb 25, 2024
1 check passed
@diegoberaldin diegoberaldin deleted the fix-body-max-height branch February 25, 2024 08:23
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.

None yet

1 participant