Improve spacing in paragraphs

Created on 21 March 2025, 28 days ago

Problem/Motivation

In paragraph sections, we can set padding-top and padding-bottom. Because of this, the first inner element of a paragraph should have margin-top: 0. Currently, this is not the case.

For example, if you add a Sidebar embed paragraph with a title (but no icon), the title gets a margin: var(--heading-margin);, which causes inconsistent spacing — the top spacing ends up larger than the bottom.

🐛 Bug report
Status

Active

Version

5.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024