Skip to content

Commit aa9cf56

Browse files
authored
feat: add wrapper for OpenAPI 3.1.0 version label (#9267)
Refs #9167 Refs #9264
1 parent a34d7d3 commit aa9cf56

File tree

1 file changed

+4
-2
lines changed
  • src/core/plugins/oas31/components

1 file changed

+4
-2
lines changed

src/core/plugins/oas31/components/info.jsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,10 @@ const Info = ({ getComponent, specSelectors }) => {
3535
<hgroup className="main">
3636
<h2 className="title">
3737
{title}
38-
{version && <VersionStamp version={version} />}
39-
<OpenAPIVersion oasVersion="3.1" />
38+
<span>
39+
{version && <VersionStamp version={version} />}
40+
<OpenAPIVersion oasVersion="3.1" />
41+
</span>
4042
</h2>
4143

4244
{(host || basePath) && <InfoBasePath host={host} basePath={basePath} />}

0 commit comments

Comments
 (0)