mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-28 09:21:13 -05:00
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>
This commit is contained in:
parent
ea5f7f0848
commit
187860bded
2 changed files with 2 additions and 1 deletions
1
release-notes/7.0.4/fix/4076.md
Normal file
1
release-notes/7.0.4/fix/4076.md
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Fixed: headlines in rendered org-mode do not have a margin on the top
|
|
@ -72,7 +72,7 @@
|
||||||
.markup h4,
|
.markup h4,
|
||||||
.markup h5,
|
.markup h5,
|
||||||
.markup h6 {
|
.markup h6 {
|
||||||
margin-top: 24px;
|
margin-top: 24px !important;
|
||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
font-weight: var(--font-weight-semibold);
|
font-weight: var(--font-weight-semibold);
|
||||||
line-height: 1.25;
|
line-height: 1.25;
|
||||||
|
|
Loading…
Reference in a new issue