docusaurus-theme-openapi-docs 1.0.3 → 1.0.4

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.
@@ -11,6 +11,23 @@
11
11
  margin-top: 0;
12
12
  }
13
13
 
14
+ :global(.version-button div) {
15
+ display: block;
16
+ }
17
+
18
+ :global(.version-button div > button > span::after) {
19
+ border-color: currentcolor transparent;
20
+ border-style: solid;
21
+ border-width: 0.4em 0.4em 0;
22
+ content: "";
23
+ margin-left: 0.3em;
24
+ position: relative;
25
+ transform: translateY(-50%);
26
+ display: inline-block;
27
+ font-size: 0.8rem;
28
+ top: 1px;
29
+ }
30
+
14
31
  /* default markdown margins look really silly in a table */
15
32
  :global(.theme-api-markdown table *:last-child) {
16
33
  margin-bottom: 0;
@@ -11,6 +11,23 @@
11
11
  margin-top: 0;
12
12
  }
13
13
 
14
+ :global(.version-button div) {
15
+ display: block;
16
+ }
17
+
18
+ :global(.version-button div > button > span::after) {
19
+ border-color: currentcolor transparent;
20
+ border-style: solid;
21
+ border-width: 0.4em 0.4em 0;
22
+ content: "";
23
+ margin-left: 0.3em;
24
+ position: relative;
25
+ transform: translateY(-50%);
26
+ display: inline-block;
27
+ font-size: 0.8rem;
28
+ top: 1px;
29
+ }
30
+
14
31
  /* default markdown margins look really silly in a table */
15
32
  :global(.theme-api-markdown table *:last-child) {
16
33
  margin-bottom: 0;
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": "1.0.3",
4
+ "version": "1.0.4",
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": "^1.0.3",
54
+ "docusaurus-plugin-openapi-docs": "^1.0.4",
55
55
  "immer": "^9.0.7",
56
56
  "lodash": "^4.17.20",
57
57
  "monaco-editor": "^0.31.1",
@@ -70,5 +70,5 @@
70
70
  "engines": {
71
71
  "node": ">=14"
72
72
  },
73
- "gitHead": "618a438ec42148f525fb92cb11d291ce50d2ad06"
73
+ "gitHead": "0a590e8aaaff087d13adb7b4be75aa0112b9a2b5"
74
74
  }
@@ -11,6 +11,23 @@
11
11
  margin-top: 0;
12
12
  }
13
13
 
14
+ :global(.version-button div) {
15
+ display: block;
16
+ }
17
+
18
+ :global(.version-button div > button > span::after) {
19
+ border-color: currentcolor transparent;
20
+ border-style: solid;
21
+ border-width: 0.4em 0.4em 0;
22
+ content: "";
23
+ margin-left: 0.3em;
24
+ position: relative;
25
+ transform: translateY(-50%);
26
+ display: inline-block;
27
+ font-size: 0.8rem;
28
+ top: 1px;
29
+ }
30
+
14
31
  /* default markdown margins look really silly in a table */
15
32
  :global(.theme-api-markdown table *:last-child) {
16
33
  margin-bottom: 0;