Skip to content

Commit 5da2c44

Browse files
committed
added search functionality to side nav bar
1 parent 0fc4045 commit 5da2c44

File tree

7 files changed

+204
-100
lines changed

7 files changed

+204
-100
lines changed

docs/list.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@
5151
</div>
5252
</div>
5353

54-
5554
<div style="display:flex; flex-direction: column; margin:20px 32px">
5655
<table class="m-table">
5756
<tr> <th style="text-align:left">List of Examples</th></tr>

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
},
4343
"devDependencies": {
4444
"@babel/core": "^7.6.4",
45-
"@babel/preset-env": "^7.6.4",
45+
"@babel/preset-env": "^7.6.3",
4646
"babel-loader": "^8.0.6",
4747
"babel-plugin-template-html-minifier": "^3.1.0",
4848
"clean-webpack-plugin": "^3.0.0",
@@ -60,8 +60,8 @@
6060
"node-sass": "^4.12.0",
6161
"sass-loader": "^8.0.0",
6262
"style-loader": "^1.0.0",
63-
"webpack": "^4.41.0",
64-
"webpack-bundle-analyzer": "^3.5.2",
63+
"webpack": "^4.41.2",
64+
"webpack-bundle-analyzer": "^3.6.0",
6565
"webpack-cli": "^3.3.9",
6666
"webpack-dev-server": "^3.8.2"
6767
}

src/components/api-request.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ export default class ApiRequest extends LitElement {
9595
this.responseText = '';
9696
this.responseUrl = '';
9797
this.curlSyntax = '';
98-
this.activeSchemaTab = this.defaultSchemaTab;
98+
// this.activeSchemaTab = this.defaultSchemaTab;
99+
this.activeSchemaTab = 'model';
99100
this.activeResponseTab = 'response';
100101
}
101102

src/components/api-response.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ export default class ApiResponse extends LitElement {
1616
this.selectedStatus = '';
1717
this.headersForEachRespStatus = {};
1818
this.mimeResponsesForEachStatus = {};
19-
this.activeSchemaTab = this.defaultSchemaTab === 'model' ? 'model' : 'example';
19+
// this.activeSchemaTab = this.defaultSchemaTab === 'model' ? 'model' : 'example';
20+
this.activeSchemaTab = 'model';
2021
}
2122

2223
render() {

src/components/end-points-expanded.js

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,17 @@ export default class EndPointsExpanded extends LitElement {
1313
<style>
1414
.endpoint-body{
1515
border-top: 1px solid var(--light-border-color);
16-
padding:36px 48px;
16+
padding:24px 8px;
1717
}
1818
.endpoint-body:nth-child(even){
19-
background-color:var(--bg3);
19+
background-color:var(--bg2);
20+
}
21+
22+
@media only screen and (min-width: 768px) {
23+
.endpoint-body{
24+
border-top: 1px solid var(--light-border-color);
25+
padding:36px 48px;
26+
}
2027
}
2128
</style>
2229
${this.paths.map((path) => this.endpointBodyTemplate(path))}

src/components/security-schemes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default class SecuritySchemes extends LitElement {
2323
word-break: break-all;
2424
}
2525
</style>
26-
<table class="m-table" style="margin: 0 24px 24px 24px">
26+
<table class="m-table">
2727
<tr>
2828
<th >Type </th>
2929
<th> Authentication Procedure </th>

0 commit comments

Comments
 (0)