Skip to content

Commit 56ee353

Browse files
committed
fixed some examples
1 parent 23ed77e commit 56ee353

File tree

11 files changed

+16
-22
lines changed

11 files changed

+16
-22
lines changed

dist/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
>
6969
</rapi-doc>
7070
-->
71-
<rapi-doc spec-url="https://api.apis.guru/v2/specs/bitbucket.org/2.0/swagger.json"
71+
<rapi-doc spec-url="https://api.apis.guru/v2/specs/azure.com/workloadmonitor-Microsoft.WorkloadMonitor/2018-08-31-preview/swagger.json"
7272
layout="row"
7373
theme="light"
7474
show-info="false"

dist/index.html.gz

49 Bytes
Binary file not shown.

dist/rapidoc-min.js

Lines changed: 4 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/rapidoc-min.js.gz

3 Bytes
Binary file not shown.

dist/rapidoc-min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/rapidoc-min.js.map.gz

3 Bytes
Binary file not shown.

docs/example100.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@
129129
</script>
130130
</head>
131131
<body>
132-
<rapi-doc id="thedoc" spec-url="https://api.apis.guru/v2/specs/azure.com/workloadmonitor-Microsoft.WorkloadMonitor/2018-08-31-preview/swagger.json">
133-
<div style="display:flex; margin:10px; justify-content:center;">
132+
<rapi-doc id="thedoc" spec-url="https://petstore.swagger.io/v2/swagger.json">
133+
<div style="display:flex; margin:10px; justify-content:center;flex-wrap: wrap;">
134134
<button class="btn" onclick="changeAttr('header-color')">Change Header Color</button>
135135
<button class="btn" onclick="changeAttr('heading-text')">Change Heading Text</button>
136136
<button class="btn" onclick="changeLogo()">Change Logo</button>

docs/rapidoc-min.js

Lines changed: 4 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
>
6969
</rapi-doc>
7070
-->
71-
<rapi-doc spec-url="https://api.apis.guru/v2/specs/bitbucket.org/2.0/swagger.json"
71+
<rapi-doc spec-url="https://api.apis.guru/v2/specs/azure.com/workloadmonitor-Microsoft.WorkloadMonitor/2018-08-31-preview/swagger.json"
7272
layout="row"
7373
theme="light"
7474
show-info="false"

src/components/end-point.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default class EndPoint extends LitElement {
2020
font-family:var(--font-mono);
2121
font-size: 12px;
2222
align-items: center;
23-
word-wrap: break-word;
23+
overflow-wrap: break-word;
2424
word-break: break-all;
2525
}
2626
@@ -29,7 +29,7 @@ export default class EndPoint extends LitElement {
2929
color:var(--light-fg);
3030
font-weight:400;
3131
align-items: center;
32-
word-wrap: break-word;
32+
overflow-wrap: break-word;
3333
word-break: break-all;
3434
display:none;
3535
}

0 commit comments

Comments
 (0)