diff --git a/netbox/project-static/styles/custom/_markdown.scss b/netbox/project-static/styles/custom/_markdown.scss index f3413e651..75ada3bc6 100644 --- a/netbox/project-static/styles/custom/_markdown.scss +++ b/netbox/project-static/styles/custom/_markdown.scss @@ -28,17 +28,17 @@ } -// Remove the bottom margin of

elements inside a table cell +// Remove the bottom margin of the last

elements in markdown .rendered-markdown { p:last-of-type { margin-bottom: 0; } } +// fix layout of rendered markdown inside a table cell td > .rendered-markdown { max-height: 200px; overflow-y: scroll; - } // Markdown preview