branch: main
commit 5f37f4d8416669b0c0b48896bea86ae18f0224b4
Author: Adam Porter <a...@alphapapa.net>
Commit: Stefan Monnier <monn...@iro.umontreal.ca>

    * html/layout.css (p): Improve margins
    
    Previously, paragraphs only had bottom margins, which caused them to
    have nearly no spacing between them and other, non-paragraph page
    elements.  This change maintains the same spacing between paragraphs,
    while adding space after other elements, which looks *much* better,
    e.g. for `README.org`s where code blocks where not equally spaced
    before/after.
---
 html/layout.css | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/html/layout.css b/html/layout.css
index 48f9aa5fc7..59d88a3bec 100644
--- a/html/layout.css
+++ b/html/layout.css
@@ -127,7 +127,7 @@ pre .kw {
 }
 
 p {
-  margin-bottom: 2em;
+  margin: 1em 0 1em 0;
 }
 
 p.centered {

Reply via email to