Skip to content

Commit

Permalink
feat: add wrapper for version labels
Browse files Browse the repository at this point in the history
  • Loading branch information
tekyu committed Sep 28, 2023
1 parent 5e7bde9 commit ba0e6d2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/core/components/info.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,10 @@ class Info extends React.Component {
<hgroup className="main">
<h2 className="title">
{title}
{version && <VersionStamp version={version} />}
<OpenAPIVersion oasVersion="2.0" />
<span>
{version && <VersionStamp version={version} />}
<OpenAPIVersion oasVersion="2.0" />
</span>
</h2>
{host || basePath ? (
<InfoBasePath host={host} basePath={basePath} />
Expand Down

0 comments on commit ba0e6d2

Please sign in to comment.