diff --git a/app/components/Readme.vue b/app/components/Readme.vue index bfe67bf7b2..63abe0f476 100644 --- a/app/components/Readme.vue +++ b/app/components/Readme.vue @@ -487,6 +487,20 @@ function handleClick(event: MouseEvent) { summary { font-size: 1rem; color: var(--fg-muted); + + /* Markdown often wraps headings/paragraphs inside , which + forces them onto new lines. Inline them so the disclosure marker + sits next to the label while preserving heading styles. */ + > h1, + > h2, + > h3, + > h4, + > h5, + > h6, + > p { + display: inline; + margin: 0; + } } }