We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65e87fd commit e4626d4Copy full SHA for e4626d4
packages/docusaurus-theme-openapi-docs/src/theme/ApiExplorer/Response/index.tsx
@@ -88,7 +88,10 @@ function Response({ item }: { item: NonNullable<ApiItem> }) {
88
</div>
89
<div
90
style={{
91
- backgroundColor: prismTheme.plain.backgroundColor,
+ backgroundColor:
92
+ code && prettyResponse !== "Fetching..."
93
+ ? prismTheme.plain.backgroundColor
94
+ : "transparent",
95
paddingLeft: "1rem",
96
paddingTop: "1rem",
97
...((prettyResponse === "Fetching..." || !code) && {
0 commit comments