Skip to content

Commit 604a205

Browse files
committed
Increased monospaced font size
1 parent 7c6d3e3 commit 604a205

14 files changed

+24
-23
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

15 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 Bytes
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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rapidoc",
3-
"version": "4.2.7",
3+
"version": "4.2.8",
44
"description": "RapiDoc - Open API spec viewer with built in console",
55
"author": "Mrinmoy Majumdar <[email protected]>",
66
"repository": {
@@ -50,7 +50,7 @@
5050
"node-sass": "^4.11.0",
5151
"sass-loader": "^7.1.0",
5252
"style-loader": "^0.23.1",
53-
"webpack": "^4.29.6",
53+
"webpack": "^4.30.0",
5454
"webpack-bundle-analyzer": "^3.3.2",
5555
"webpack-cli": "^3.3.0",
5656
"webpack-dev-server": "^3.3.1"

src/components/api-request.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ export default class ApiRequest extends LitElement {
8686
.textarea {
8787
min-height:180px;
8888
padding:5px;
89+
resize:vertical;
90+
font-size:var(--font-mono-size);
8991
}
9092
9193
.response-message.error{
@@ -288,7 +290,7 @@ export default class ApiRequest extends LitElement {
288290
<textarea
289291
class="textarea mono request-body-param ${shortMimeTypes[mimeReq]}"
290292
data-ptype="${mimeReq}"
291-
style="resize:vertical;display:${shortMimeTypes[mimeReq]==='json'?'block':'none'};
293+
style="display:${shortMimeTypes[mimeReq]==='json'?'block':'none'};
292294
">${reqExample[0].exampleValue}</textarea>`
293295
}
294296
else if (mimeReq.includes('form') || mimeReq.includes('multipart-form')){
@@ -419,13 +421,13 @@ export default class ApiRequest extends LitElement {
419421
<button class="tab-btn" content_id="tab_curl">CURL</button>
420422
</div>
421423
<div id="tab_response_text" class="tab-content col" style="flex:1; ">
422-
<textarea class="mono" style="resize:vertical;min-height:180px; padding:16px;">${this.responseText}</textarea>
424+
<textarea class="mono" style="min-height:180px; padding:16px;">${this.responseText}</textarea>
423425
</div>
424426
<div id="tab_response_headers" class="tab-content col" style="flex:1;display:none">
425-
<textarea class="mono" style="resize:vertical;min-height:180px; padding:16px; white-space:nowrap;">${this.responseHeaders}</textarea>
427+
<textarea class="mono" style="min-height:180px; padding:16px; white-space:nowrap;">${this.responseHeaders}</textarea>
426428
</div>
427429
<div id="tab_curl" class="tab-content col" style="flex:1;display:none">
428-
<code style="min-height:180px; padding:16px;font-size:12px; border:1px solid var(--input-border-color);overflow: scroll;word-break: break-word;">${this.curlSyntax}</code>
430+
<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>
429431
</div>
430432
</div>`}
431433
`

src/components/json-tree.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default class JsonTree extends LitElement {
99
<style>
1010
.tree{
1111
font-family: var(--font-mono);
12-
font-size:12px;
12+
font-size:var(--font-mono-size);
1313
display:inline-block;
1414
overflow:hidden;
1515
word-break: break-all;

src/components/schema-tree.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default class SchemaTree extends LitElement {
1111
<style>
1212
.tree{
1313
font-family: var(--font-mono);
14-
font-size:12px;
14+
font-size:var(--font-mono-size);
1515
display:inline-block;
1616
overflow:hidden;
1717
width:100%;

0 commit comments

Comments
 (0)