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 9bc1acb69c
commit e0336cc239
2 changed files with 4 additions and 1 deletions

File diff suppressed because one or more lines are too long

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;
}