docusaurus-theme-openapi-docs 0.0.0-1098 → 0.0.0-1099
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.
- package/lib/theme/styles.scss +10 -0
- package/package.json +3 -3
- package/src/theme/styles.scss +10 -0
package/lib/theme/styles.scss
CHANGED
|
@@ -166,6 +166,16 @@
|
|
|
166
166
|
border-right: thin solid var(--ifm-toc-border-color);
|
|
167
167
|
}
|
|
168
168
|
|
|
169
|
+
@media (min-width: 997px) {
|
|
170
|
+
.openapi-right-panel__container {
|
|
171
|
+
position: sticky;
|
|
172
|
+
top: calc(var(--ifm-navbar-height) + 1rem);
|
|
173
|
+
max-height: calc(100vh - var(--ifm-navbar-height) - 2rem);
|
|
174
|
+
overflow-y: auto;
|
|
175
|
+
align-self: flex-start;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
|
|
169
179
|
@media (max-width: 997px) {
|
|
170
180
|
.schema {
|
|
171
181
|
margin-bottom: 1rem;
|
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-
|
|
4
|
+
"version": "0.0.0-1099",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"openapi",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@types/postman-collection": "^3.5.11",
|
|
39
39
|
"@types/react-modal": "^3.16.3",
|
|
40
40
|
"concurrently": "^9.2.0",
|
|
41
|
-
"docusaurus-plugin-openapi-docs": "0.0.0-
|
|
41
|
+
"docusaurus-plugin-openapi-docs": "0.0.0-1099",
|
|
42
42
|
"docusaurus-plugin-sass": "^0.2.6",
|
|
43
43
|
"eslint-plugin-prettier": "^5.5.1"
|
|
44
44
|
},
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"engines": {
|
|
82
82
|
"node": ">=14"
|
|
83
83
|
},
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "65fcd563eb08a93ded0cacfe8555440162d3eddb"
|
|
85
85
|
}
|
package/src/theme/styles.scss
CHANGED
|
@@ -166,6 +166,16 @@
|
|
|
166
166
|
border-right: thin solid var(--ifm-toc-border-color);
|
|
167
167
|
}
|
|
168
168
|
|
|
169
|
+
@media (min-width: 997px) {
|
|
170
|
+
.openapi-right-panel__container {
|
|
171
|
+
position: sticky;
|
|
172
|
+
top: calc(var(--ifm-navbar-height) + 1rem);
|
|
173
|
+
max-height: calc(100vh - var(--ifm-navbar-height) - 2rem);
|
|
174
|
+
overflow-y: auto;
|
|
175
|
+
align-self: flex-start;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
|
|
169
179
|
@media (max-width: 997px) {
|
|
170
180
|
.schema {
|
|
171
181
|
margin-bottom: 1rem;
|