mirror of
https://github.com/unclshura/BlazorOpenApi.git
synced 2025-12-21 09:51:53 +00:00
Updated OperationControl.razor to use a <textarea> element instead of a <pre> for displaying generated example data
This commit is contained in:
parent
77ed16b75f
commit
aec61ca02f
@ -56,7 +56,7 @@
|
|||||||
{
|
{
|
||||||
<div class="example">
|
<div class="example">
|
||||||
<h3 class="e-title">Example Data</h3>
|
<h3 class="e-title">Example Data</h3>
|
||||||
<pre class="e-item">@GenerateExampleData()</pre>
|
<textarea type="text" readonly multiple rows="20" class="e-item">@GenerateExampleData()</textarea>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -18,6 +18,10 @@
|
|||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
font-size: var(--oa-font-small);
|
font-size: var(--oa-font-small);
|
||||||
color: lightseagreen;
|
color: lightseagreen;
|
||||||
|
background-color: var(--oa-bg-darkest);
|
||||||
|
overflow: auto;
|
||||||
|
field-sizing: content;
|
||||||
|
padding: 10px;
|
||||||
}
|
}
|
||||||
.e-name {}
|
.e-name {}
|
||||||
.e-title {}
|
.e-title {}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user