File tree 4 files changed +7
-3
lines changed
docusaurus-plugin-openapi-docs/src/markdown
docusaurus-theme-openapi-docs/src/theme
4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 6
6
* ========================================================================== */
7
7
8
8
import clsx from "clsx" ;
9
+
9
10
import { SchemaObject } from "../openapi/types" ;
10
11
import {
11
12
createClosingArrayBracket ,
@@ -436,6 +437,7 @@ function createAnyOneOfProperty(
436
437
className : "schemaItem" ,
437
438
children : [
438
439
createDetails ( {
440
+ className : "openapi-markdown__details" ,
439
441
children : [
440
442
createDetailsSummary ( {
441
443
children : [
Original file line number Diff line number Diff line change 80
80
& ::before {
81
81
margin-right : 0.25rem ;
82
82
margin-bottom : 0.25rem ;
83
+ margin-top : 0.25rem ;
83
84
background-image : var (--openapi-explorer-caret-bg );
84
85
border : none !important ;
85
86
transform : rotate (90deg );
86
87
content : " " ;
87
- height : 0.75 rem ;
88
- width : 0.75 rem ;
88
+ height : 1 rem ;
89
+ width : 1 rem ;
89
90
}
90
91
}
91
92
Original file line number Diff line number Diff line change 8
8
// Horizonal line styling for param attributes
9
9
& ::before {
10
10
position : absolute ;
11
- top : 10 px ;
11
+ top : 5 px ;
12
12
left : 0 ;
13
13
width : 0.7rem ;
14
14
/* width of horizontal line */
Original file line number Diff line number Diff line change 85
85
86
86
.openapi-schema__container {
87
87
display : flex ;
88
+ align-items : center ;
88
89
}
You can’t perform that action at this time.
0 commit comments