Skip to content

Commit aa3357a

Browse files
authored
Fix OpenAPISchemas description padding (#3115)
1 parent de53946 commit aa3357a

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

Diff for: .changeset/lazy-oranges-play.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'gitbook': patch
3+
---
4+
5+
Fix OpenAPISchemas description padding

Diff for: packages/gitbook/src/components/DocumentView/OpenAPI/style.css

+4
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,10 @@
156156
@apply prose-sm text-balance mt-1.5 !text-[0.813rem] text-tint overflow-hidden !font-normal select-text prose-strong:font-semibold prose-strong:text-inherit;
157157
}
158158

159+
.openapi-section-schemas > .openapi-section-body > .openapi-schema-root-description {
160+
@apply px-2.5 pt-1 !text-sm;
161+
}
162+
159163
.openapi-schema-properties {
160164
@apply flex flex-col;
161165
}

0 commit comments

Comments
 (0)