Skip to content

Commit 1627431

Browse files
Indent nested type declaration in schema reference (modelcontextprotocol#1018)
This ensures that when a type member has both a comment and a nested type declaration, the corresponding elements are aligned. Co-authored-by: David Soria Parra <[email protected]>
1 parent 0695a49 commit 1627431

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/style.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,10 +233,16 @@ body:has(#enable-section-numbers) {
233233
text-decoration: underline;
234234
}
235235

236+
236237
.quick-links .separator {
237238
color: #d1d5db;
238239
}
239240

241+
& > .tsd-comment,
242+
& > .tsd-type-declaration {
243+
margin-left: 1.25rem;
244+
}
245+
240246
.features-grid {
241247
display: grid;
242248
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));

0 commit comments

Comments
 (0)