Skip to content

Commit

Permalink
docs(customl-layout): append swagger-ui css class (#9329)
Browse files Browse the repository at this point in the history
To display style properly, we need to add className="swagger-ui"
to the layout.
  • Loading branch information
xiaoyu2er authored Nov 10, 2023
1 parent 292a288 commit bb04915
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/customization/custom-layout.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class OperationsLayout extends React.Component {
const Operations = getComponent("operations", true)

return (
<div>
<div className="swagger-ui">
<Operations />
</div>
)
Expand Down

0 comments on commit bb04915

Please sign in to comment.