Skip to content

Commit 8704db7

Browse files
authored
Merge branch 'master' into bug/3414-validate-params-reworked
2 parents e60ae7b + 8bf9037 commit 8704db7

File tree

4 files changed

+13
-4
lines changed

4 files changed

+13
-4
lines changed

src/core/components/models.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ export default class Models extends Component {
2424
return <section className={ showModels ? "models is-open" : "models"}>
2525
<h4 onClick={() => layoutActions.show("models", !showModels)}>
2626
<span>Models</span>
27-
<svg width="20" height="20">
28-
<use xlinkHref="#large-arrow" />
27+
<svg className="arrow" width="20" height="20">
28+
<use xlinkHref={showModels ? "#large-arrow-down" : "#large-arrow"} />
2929
</svg>
3030
</h4>
3131
<Collapse isOpened={showModels}>

src/plugins/add-plugin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ SwaggerUI({
2020
})
2121
```
2222

23-
Or if you're updating the core plugins.. you'll add it to [src/js/bootstrap-plugin](https://github.com/SmartBear/swagger-ux/blob/master/src/js/bootstrap-plugin.js)
23+
Or if you're updating the core plugins.. you'll add it to the base preset: [src/core/presets/base.js](https://github.com/swagger-api/swagger-ui/blob/master/src/core/presets/base.js)
2424

2525
Each Plugin is a function that returns an object. That object will get merged with the `system` and later bound to the state.
2626
Here is an example of each `type`

src/plugins/topbar/topbar.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ export default class Topbar extends React.Component {
130130
<div className="wrapper">
131131
<div className="topbar-wrapper">
132132
<Link href="#" title="Swagger UX">
133-
<img height="30" width="30" src={ Logo } alt="Swagger UX"/>
133+
<img height="30" width="30" src={ Logo } alt="Swagger UI"/>
134134
<span>swagger</span>
135135
</Link>
136136
<form className="download-url-wrapper" onSubmit={formOnSubmit}>

src/style/_layout.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,15 @@ body
508508
{
509509
margin: 0;
510510
}
511+
512+
a
513+
{
514+
@include text_code(#89bf04);
515+
text-decoration: underline;
516+
&:hover {
517+
color: #81b10c;
518+
}
519+
}
511520
}
512521
}
513522

0 commit comments

Comments
 (0)