1
0
mirror of https://github.com/prometheus/docs.git synced 2026-02-06 09:44:54 +01:00

Fix NOTE block rendering (#1987)

Fixes: https://github.com/prometheus/docs/issues/1986

Signed-off-by: Richard Hartmann <richih@richih.org>
This commit is contained in:
Richard Hartmann
2021-07-08 12:18:07 +02:00
committed by GitHub
parent 5b19515bfe
commit cf6e9cfe8c

View File

@@ -342,11 +342,18 @@ footer {
font-size: 16px;
}
.doc-content p, .doc-content.ul, .doc-content .alert {
.doc-content p, .doc-content.ul {
margin: 15px 0 15px 0;
line-height: 1.5;
}
.doc-content .alert {
margin: 15px 0 15px 0;
line-height: 1.5;
/* This is to prevent NOTE/admonition alert boxes from overlapping the table of contents at the top of a docs page. */
display: inline-block; width: 100%;
}
.doc-content > h1 {
color: #e6522c;
font-size: 30px;