docusaurus-theme-openapi-docs 0.0.0-550 → 0.0.0-553

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -219,7 +219,9 @@ function Curl({
219
219
  return <CodeTab value={lang.language} label={""} key={lang.variant ? `${lang.language}-${lang.variant}` : lang.language} attributes={{
220
220
  className: `code__tab--${lang.logoClass}`
221
221
  }}>
222
- <_CodeBlock.default language={lang.highlight}>{codeText}</_CodeBlock.default>
222
+ <_CodeBlock.default language={lang.highlight} className={_stylesModule.default.codeBlock}>
223
+ {codeText}
224
+ </_CodeBlock.default>
223
225
  </CodeTab>;
224
226
  })}
225
227
  </_CodeTabs.default>
@@ -82,3 +82,8 @@
82
82
  background: var(--ifm-menu-color-background-active);
83
83
  color: var(--ifm-menu-color-active);
84
84
  }
85
+
86
+ .codeBlock code {
87
+ max-width: revert;
88
+ max-height: revert;
89
+ }
@@ -256,7 +256,9 @@ function Curl({ postman, codeSamples }) {
256
256
  className: `code__tab--${lang.logoClass}`,
257
257
  }}
258
258
  >
259
- <CodeBlock language={lang.highlight}>{codeText}</CodeBlock>
259
+ <CodeBlock language={lang.highlight} className={styles.codeBlock}>
260
+ {codeText}
261
+ </CodeBlock>
260
262
  </CodeTab>
261
263
  );
262
264
  })}
@@ -82,3 +82,8 @@
82
82
  background: var(--ifm-menu-color-background-active);
83
83
  color: var(--ifm-menu-color-active);
84
84
  }
85
+
86
+ .codeBlock code {
87
+ max-width: revert;
88
+ max-height: revert;
89
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "docusaurus-theme-openapi-docs",
3
3
  "description": "OpenAPI theme for Docusaurus.",
4
- "version": "0.0.0-550",
4
+ "version": "0.0.0-553",
5
5
  "license": "MIT",
6
6
  "keywords": [
7
7
  "openapi",
@@ -73,5 +73,5 @@
73
73
  "engines": {
74
74
  "node": ">=14"
75
75
  },
76
- "gitHead": "a5a66956330a8dad1705e3f9e281b5ecc6c3c42f"
76
+ "gitHead": "1c63082f72380175e9ddd4e40a708a05b4f8ccde"
77
77
  }
@@ -280,7 +280,9 @@ function Curl({ postman, codeSamples }: Props) {
280
280
  }
281
281
  attributes={{ className: `code__tab--${lang.logoClass}` }}
282
282
  >
283
- <CodeBlock language={lang.highlight}>{codeText}</CodeBlock>
283
+ <CodeBlock language={lang.highlight} className={styles.codeBlock}>
284
+ {codeText}
285
+ </CodeBlock>
284
286
  </CodeTab>
285
287
  );
286
288
  })}
@@ -82,3 +82,8 @@
82
82
  background: var(--ifm-menu-color-background-active);
83
83
  color: var(--ifm-menu-color-active);
84
84
  }
85
+
86
+ .codeBlock code {
87
+ max-width: revert;
88
+ max-height: revert;
89
+ }