Skip to content

notice: fix layout when content starts with heading #275

@andi-blafasl

Description

@andi-blafasl

If you have a heading as the first line of content inside a Notice box, it will break the layout as you can see in the screenshot.

image

This is the code to reproduce the issue:

{{% notice note %}}

#### So verhalten Sie sich richtig:

- Beantworten Sie keine Spam-E-Mails
- Öffnen Sie keine Anhänge von unbekannten Absendern
- ....

{{% /notice %}}

Not sure, but the fix for the issue should already be inside theme.css
image

But it is ignored by the Browser and "#body h4" is used instead
image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions