Skip to content

Commit bb04915

Browse files
authored
docs(customl-layout): append swagger-ui css class (#9329)
To display style properly, we need to add className="swagger-ui" to the layout.
1 parent 292a288 commit bb04915

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/customization/custom-layout.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class OperationsLayout extends React.Component {
2121
const Operations = getComponent("operations", true)
2222

2323
return (
24-
<div>
24+
<div className="swagger-ui">
2525
<Operations />
2626
</div>
2727
)

0 commit comments

Comments
 (0)