From 3aadf59b15ef8c5a0648365079170803299727df Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Fri, 9 Feb 2024 15:22:33 -0500 Subject: [PATCH] Remove bottom margin from last

element in rendered Markdown inside a table cell --- netbox/project-static/dist/netbox.css | Bin 552405 -> 552458 bytes .../styles/custom/_markdown.scss | 7 +++++++ 2 files changed, 7 insertions(+) diff --git a/netbox/project-static/dist/netbox.css b/netbox/project-static/dist/netbox.css index e016f09234cf31288e44984ebd3d0752ee6ccc35..385a85b71caa8b89078213b1b0e45a385d0c3f24 100644 GIT binary patch delta 84 zcmcb5Te0hoVnYjK3sVbo3rh=Y3tJ2O77pheladrWy`t2-l+>cs6y4m!qU@CX@;rqC mtDMB*65aeX-IB_J)M}u3dS;$(QhrHEey)|lcBdSU$&3IjU>@QC delta 31 mcmeCWqj>eUVnYjK3sVbo3rh=Y3tJ2O77pi}?G-s3lNbTTAPX`8 diff --git a/netbox/project-static/styles/custom/_markdown.scss b/netbox/project-static/styles/custom/_markdown.scss index 08de23581..cb4527f37 100644 --- a/netbox/project-static/styles/custom/_markdown.scss +++ b/netbox/project-static/styles/custom/_markdown.scss @@ -28,6 +28,13 @@ } +// Remove the bottom margin of

elements inside a table cell +td > .rendered-markdown { + p:last-of-type { + margin-bottom: 0; + } +} + // Markdown preview .markdown-widget { .preview {