Просмотр исходного кода

Fixes #20227: Fix paragraph spacing in rendered Markdown content (#20256)

Jeremy Stretch 5 месяцев назад
Родитель
Сommit
545773e221
2 измененных файлов с 1 добавлено и 1 удалено
  1. 0 0
      netbox/project-static/dist/netbox.css
  2. 1 1
      netbox/project-static/styles/custom/_markdown.scss

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
netbox/project-static/dist/netbox.css


+ 1 - 1
netbox/project-static/styles/custom/_markdown.scss

@@ -30,7 +30,7 @@
 
 
 // Remove the bottom margin of the last <p> elements in markdown
 // Remove the bottom margin of the last <p> elements in markdown
 .rendered-markdown {
 .rendered-markdown {
-  p:last-of-type {
+  p:last-child {
     margin-bottom: 0;
     margin-bottom: 0;
   }
   }
 }
 }

Некоторые файлы не были показаны из-за большого количества измененных файлов