diff --git a/netbox/project-static/dist/netbox.css b/netbox/project-static/dist/netbox.css index e0e5f6339..081c9aa63 100644 Binary files a/netbox/project-static/dist/netbox.css and b/netbox/project-static/dist/netbox.css differ diff --git a/netbox/project-static/styles/custom/_markdown.scss b/netbox/project-static/styles/custom/_markdown.scss index f1a7756b6..f3413e651 100644 --- a/netbox/project-static/styles/custom/_markdown.scss +++ b/netbox/project-static/styles/custom/_markdown.scss @@ -29,15 +29,18 @@ } // Remove the bottom margin of
elements inside a table cell -td > .rendered-markdown, .form-text .rendered-markdown { - max-height: 200px; - overflow-y: scroll; - +.rendered-markdown { p:last-of-type { margin-bottom: 0; } } +td > .rendered-markdown { + max-height: 200px; + overflow-y: scroll; + +} + // Markdown preview .markdown-widget { .preview {