mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-21 14:32:19 +00:00
reduce gap for paragraphs followed by lists
This commit is contained in:
parent
214b7691f4
commit
053f098546
2 changed files with 13 additions and 1 deletions
|
@ -9,4 +9,5 @@ timeless: true
|
||||||
---
|
---
|
||||||
**2024-05-26:**
|
**2024-05-26:**
|
||||||
- Begin changelog
|
- Begin changelog
|
||||||
- Simplify logic for displaying kudos and post reply buttons
|
- Simplify logic for displaying kudos and post reply buttons
|
||||||
|
- Reduce gap for paragraphs followed by lists
|
|
@ -391,3 +391,14 @@ a.tinylytics_webring {
|
||||||
hr {
|
hr {
|
||||||
margin-top: 1.5rem;
|
margin-top: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* no extra space for paragraphs with lists */
|
||||||
|
p:not(:has(+ ol)),
|
||||||
|
p:not(:has(+ ul)) {
|
||||||
|
margin-bottom: 1.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
p:has(+ ol),
|
||||||
|
p:has(+ ul) {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue