Skip to content

Commit 26faffe

Browse files
committed
Fixed an issue with firefox css text-wrapping in response-header textarea
1 parent 1a9748e commit 26faffe

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

dist/rapidoc-min.js

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

dist/rapidoc-min.js.gz

-8 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

1 Byte
Binary file not shown.

dist/report.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/rapidoc-min.js

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rapidoc",
3-
"version": "5.0.1",
3+
"version": "5.0.2",
44
"description": "RapiDoc - Open API spec viewer with built in console",
55
"author": "Mrinmoy Majumdar <[email protected]>",
66
"repository": {

src/components/api-request.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ export default class ApiRequest extends LitElement {
432432
`}
433433
</div>
434434
<div id="tab_response_headers" class="tab-content col" style="flex:1;display:none">
435-
<textarea class="mono" spellcheck="false" style="resize:vertical;min-height:180px; padding:16px; white-space:nowrap;">${this.responseHeaders}</textarea>
435+
<textarea class="mono" spellcheck="false" style="resize:vertical;min-height:180px; padding:16px; white-space:pre;">${this.responseHeaders}</textarea>
436436
</div>
437437
<div id="tab_curl" class="tab-content col" style="flex:1;display:none">
438438
<code style="min-height:180px; padding:16px;font-size:var(--font-mono-size); border:1px solid var(--input-border-color);overflow: scroll;word-break: break-word;">${this.curlSyntax}</code>

0 commit comments

Comments
 (0)