diff --git a/src/core/components/operation-summary-path.jsx b/src/core/components/operation-summary-path.jsx
index 7b0d7315..cf8485ee 100644
--- a/src/core/components/operation-summary-path.jsx
+++ b/src/core/components/operation-summary-path.jsx
@@ -15,7 +15,6 @@ export default class OperationSummaryPath extends PureComponent{
let {
getComponent,
operationProps,
- specPath,
} = this.props
@@ -29,8 +28,6 @@ export default class OperationSummaryPath extends PureComponent{
} = operationProps.toJS()
let isShownKey = ["operations", tag, operationId]
-
- const JumpToPath = getComponent("JumpToPath", true)
const DeepLink = getComponent( "DeepLink" )
return(
@@ -40,7 +37,6 @@ export default class OperationSummaryPath extends PureComponent{
isShown={isShown}
path={`${isShownKey.join("/")}`}
text={path} />
- {/* TODO: use wrapComponents here, swagger-ui doesn't care about jumpToPath */}
)
diff --git a/src/core/components/operation-summary.jsx b/src/core/components/operation-summary.jsx
index fd60b2ce..94df96d0 100644
--- a/src/core/components/operation-summary.jsx
+++ b/src/core/components/operation-summary.jsx
@@ -53,6 +53,7 @@ export default class OperationSummary extends PureComponent {
const AuthorizeOperationBtn = getComponent("authorizeOperationBtn")
const OperationSummaryMethod = getComponent("OperationSummaryMethod")
const OperationSummaryPath = getComponent("OperationSummaryPath")
+ const JumpToPath = getComponent("JumpToPath", true)
return (
@@ -78,6 +79,7 @@ export default class OperationSummary extends PureComponent {
}}
/>
}
+ {/* TODO: use wrapComponents here, swagger-ui doesn't care about jumpToPath */}
)
diff --git a/src/style/_layout.scss b/src/style/_layout.scss
index 06aca573..f8dd1bd0 100644
--- a/src/style/_layout.scss
+++ b/src/style/_layout.scss
@@ -266,26 +266,6 @@
@include text_code();
- .view-line-link
- {
- position: relative;
- top: 2px;
-
- width: 0;
- margin: 0;
-
- cursor: pointer;
- transition: all .5s;
- }
-
- &:hover
- {
- .view-line-link
- {
- width: 18px;
- margin: 0 5px;
- }
- }
}
.opblock-summary-path__deprecated
@@ -315,8 +295,31 @@
padding: 5px;
cursor: pointer;
+
+ .view-line-link
+ {
+ position: relative;
+ top: 2px;
+
+ width: 0;
+ margin: 0;
+
+ cursor: pointer;
+ transition: all .5s;
+ }
+
+ &:hover
+ {
+ .view-line-link
+ {
+ width: 18px;
+ margin: 0 5px;
+ }
+ }
}
+
+
&.opblock-post
{
@include method($_color-post);