docusaurus-theme-openapi-docs 0.0.0-598 → 0.0.0-600

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.
@@ -82,8 +82,3 @@
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
- }
@@ -57,7 +57,7 @@ function Response() {
57
57
  </button>
58
58
  </div>
59
59
  </summary>
60
- <_CodeBlock.default language={response.startsWith("<") ? `xml` : `json`}>
60
+ <_CodeBlock.default language={response.startsWith("<") ? `xml` : `json`} className="openapi-demo__code-block">
61
61
  {prettyResponse || "No Response"}
62
62
  </_CodeBlock.default>
63
63
  </details>;
@@ -161,14 +161,6 @@
161
161
  margin-right: 1rem;
162
162
  }
163
163
 
164
- /* Code block */
165
-
166
- .theme-api-markdown code {
167
- max-width: 600px;
168
- max-height: 500px;
169
- overflow: auto;
170
- }
171
-
172
164
  /* Version button */
173
165
 
174
166
  .version-button div {
@@ -517,3 +509,8 @@
517
509
  div:has(> ul.openapi-tabs__security-schemes) {
518
510
  max-width: 100%;
519
511
  }
512
+
513
+ .openapi-demo__code-block code {
514
+ max-height: 500px;
515
+ overflow: auto;
516
+ }
@@ -82,8 +82,3 @@
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
- }
@@ -55,7 +55,10 @@ function Response() {
55
55
  </button>
56
56
  </div>
57
57
  </summary>
58
- <CodeBlock language={response.startsWith("<") ? `xml` : `json`}>
58
+ <CodeBlock
59
+ language={response.startsWith("<") ? `xml` : `json`}
60
+ className="openapi-demo__code-block"
61
+ >
59
62
  {prettyResponse || "No Response"}
60
63
  </CodeBlock>
61
64
  </details>
@@ -161,14 +161,6 @@
161
161
  margin-right: 1rem;
162
162
  }
163
163
 
164
- /* Code block */
165
-
166
- .theme-api-markdown code {
167
- max-width: 600px;
168
- max-height: 500px;
169
- overflow: auto;
170
- }
171
-
172
164
  /* Version button */
173
165
 
174
166
  .version-button div {
@@ -517,3 +509,8 @@
517
509
  div:has(> ul.openapi-tabs__security-schemes) {
518
510
  max-width: 100%;
519
511
  }
512
+
513
+ .openapi-demo__code-block code {
514
+ max-height: 500px;
515
+ overflow: auto;
516
+ }
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-598",
4
+ "version": "0.0.0-600",
5
5
  "license": "MIT",
6
6
  "keywords": [
7
7
  "openapi",
@@ -51,7 +51,7 @@
51
51
  "buffer": "^6.0.3",
52
52
  "clsx": "^1.1.1",
53
53
  "crypto-js": "^4.1.1",
54
- "docusaurus-plugin-openapi-docs": "0.0.0-598",
54
+ "docusaurus-plugin-openapi-docs": "0.0.0-600",
55
55
  "file-saver": "^2.0.5",
56
56
  "immer": "^9.0.7",
57
57
  "lodash": "^4.17.20",
@@ -74,5 +74,5 @@
74
74
  "engines": {
75
75
  "node": ">=14"
76
76
  },
77
- "gitHead": "d63df75650c00a5d0250d5c617c8e3d47d1cea33"
77
+ "gitHead": "aaca079cdc8368ee75fdcdf204bd369efd13a4eb"
78
78
  }
@@ -82,8 +82,3 @@
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
- }
@@ -62,7 +62,10 @@ function Response() {
62
62
  </button>
63
63
  </div>
64
64
  </summary>
65
- <CodeBlock language={response.startsWith("<") ? `xml` : `json`}>
65
+ <CodeBlock
66
+ language={response.startsWith("<") ? `xml` : `json`}
67
+ className="openapi-demo__code-block"
68
+ >
66
69
  {prettyResponse || "No Response"}
67
70
  </CodeBlock>
68
71
  </details>
@@ -161,14 +161,6 @@
161
161
  margin-right: 1rem;
162
162
  }
163
163
 
164
- /* Code block */
165
-
166
- .theme-api-markdown code {
167
- max-width: 600px;
168
- max-height: 500px;
169
- overflow: auto;
170
- }
171
-
172
164
  /* Version button */
173
165
 
174
166
  .version-button div {
@@ -517,3 +509,8 @@
517
509
  div:has(> ul.openapi-tabs__security-schemes) {
518
510
  max-width: 100%;
519
511
  }
512
+
513
+ .openapi-demo__code-block code {
514
+ max-height: 500px;
515
+ overflow: auto;
516
+ }