Skip to content

Commit eaca5d3

Browse files
committed
Also set max width for other elements
1 parent 8fc416e commit eaca5d3

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/Elastic.Markdown/Assets/markdown/typography.css

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
h1 {
55
@apply text-ink-dark text-5xl font-semibold;
66
line-height: 1.2em;
7+
max-width: 805px; /* approximately 80ch */
78
}
89

910
h2 {
@@ -48,8 +49,10 @@
4849
line-height: 1.5em;
4950
}
5051

51-
#elastic-docs-v3>p {
52-
max-width: 80ch;
52+
#elastic-docs-v3 {
53+
&>p, &>ul, &>ol, &>.heading-wrapper {
54+
max-width: 80ch;
55+
}
5356
}
5457

5558
a {

0 commit comments

Comments
 (0)