Updated OperationControl.razor to use a <textarea> element instead of a <pre> for displaying generated example data

This commit is contained in:
Alexander Shabarshov 2025-04-08 17:16:02 +01:00
parent 77ed16b75f
commit aec61ca02f
2 changed files with 5 additions and 1 deletions

View File

@ -56,7 +56,7 @@
{
<div class="example">
<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>
}

View File

@ -18,6 +18,10 @@
font-family: monospace;
font-size: var(--oa-font-small);
color: lightseagreen;
background-color: var(--oa-bg-darkest);
overflow: auto;
field-sizing: content;
padding: 10px;
}
.e-name {}
.e-title {}