From b82525f2e80ee9271fb7e37231773aa4051605d6 Mon Sep 17 00:00:00 2001 From: Arthur Hanson Date: Wed, 16 Oct 2024 10:46:27 -0700 Subject: [PATCH] 17464 review changes --- netbox/project-static/dist/netbox.css | Bin 554730 -> 554652 bytes .../styles/custom/_markdown.scss | 11 +++++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/netbox/project-static/dist/netbox.css b/netbox/project-static/dist/netbox.css index e0e5f633916facabb0db51b38834cf00574d4c2f..081c9aa6326820ac4c82d6f60f7b869b85a59d4e 100644 GIT binary patch delta 50 zcmaF$R&mZ-#fBEf7N!>F7M2#)7Pc1lEgYYVru!CiC{CYU%pu5Jl43Vqq?p5O`F7M2#)7Pc1lEgYYV6iZU<^ommRQc{ajQ*?6^i?UPl%ky;f o((;RPbxTq!N))DR6mys{1C>qxT*RTsgCYeKG1?wi%wfk200Gw{I{*Lx 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 {