Skip to content

Add styling to rendered-markdown class to clamp height and add scrollbar #17237

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

Merged
merged 2 commits into from
Aug 23, 2024

Conversation

bctiemann
Copy link
Contributor

@bctiemann bctiemann commented Aug 21, 2024

Fixes: #16857 - Option to clamp height of container div with scrollbar on markdown filter

Adds styling to the rendered-markdown class to clamp the height to 200px with a vertical scrollbar.

This aims to allow users to populate large amounts of rich text into a Long Text custom field without causing the detail view of an object to become so tall as to be cumbersome.

Screenshot 2024-08-22 at 6 06 52 AM

@bctiemann bctiemann self-assigned this Aug 21, 2024
@bctiemann bctiemann added the type: feature Introduction of new functionality to the application label Aug 21, 2024
@bctiemann bctiemann changed the title Add clamp_height to the markdown filter which limits max height to 20… Add styling to rendered-markdown class to clamp height and add scrollbar Aug 22, 2024
@jeremystretch jeremystretch merged commit dab2769 into develop Aug 23, 2024
6 checks passed
@jeremystretch jeremystretch deleted the 16857-clamp-height-on-long-text-custom-field branch August 23, 2024 13:35
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: feature Introduction of new functionality to the application
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve display for long-text custom fields
2 participants