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

* Add clamp_height to the markdown filter which limits max height to 200 (scrollable) on the container div

* Remove clamp_height option, apply scrolling style to all markdown divs inside td's
This commit is contained in:
bctiemann 2024-08-23 09:35:01 -04:00 committed by GitHub
parent d4dd86eb04
commit dab27695b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

Binary file not shown.

View File

@ -30,6 +30,9 @@
// Remove the bottom margin of <p> elements inside a table cell
td > .rendered-markdown {
max-height: 200px;
overflow-y: scroll;
p:last-of-type {
margin-bottom: 0;
}