loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix margin above headline in rendered org-mode (#4076)

This Fixes #3962 by adding `!important` to the margin of the heading in the rendered markdown.

In the current behaviour, the margin-top was always overridden by a global css-rule. This is prevented by this change.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/4076
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
Co-authored-by: Beowulf <beowulf@beocode.eu>
Co-committed-by: Beowulf <beowulf@beocode.eu>

authored by

Beowulf
Beowulf
and committed by
0ko
187860bd ea5f7f08

+2 -1
+1
release-notes/7.0.4/fix/4076.md
··· 1 + Fixed: headlines in rendered org-mode do not have a margin on the top
+1 -1
web_src/css/markup/content.css
··· 72 72 .markup h4, 73 73 .markup h5, 74 74 .markup h6 { 75 - margin-top: 24px; 75 + margin-top: 24px !important; 76 76 margin-bottom: 16px; 77 77 font-weight: var(--font-weight-semibold); 78 78 line-height: 1.25;