[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] main 5f37f4d841 1/2: * html/layout.css (p): Improve margins
From: |
Stefan Monnier |
Subject: |
[elpa] main 5f37f4d841 1/2: * html/layout.css (p): Improve margins |
Date: |
Sun, 11 Sep 2022 10:46:15 -0400 (EDT) |
branch: main
commit 5f37f4d8416669b0c0b48896bea86ae18f0224b4
Author: Adam Porter <adam@alphapapa.net>
Commit: Stefan Monnier <monnier@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 {