Reduce endpoint rules JSON editor height

This commit is contained in:
fawney19
2026-05-06 21:45:37 +08:00
parent a6b45702e8
commit 9525a68719

View File

@@ -306,7 +306,7 @@
> >
<Textarea <Textarea
:model-value="getEndpointRulesJsonDraft(endpoint)" :model-value="getEndpointRulesJsonDraft(endpoint)"
class="min-h-[360px] font-mono text-xs leading-relaxed" class="min-h-[220px] font-mono text-xs leading-relaxed"
spellcheck="false" spellcheck="false"
placeholder="{ &quot;header_rules&quot;: [], &quot;body_rules&quot;: [], &quot;response_header_rules&quot;: [] }" placeholder="{ &quot;header_rules&quot;: [], &quot;body_rules&quot;: [], &quot;response_header_rules&quot;: [] }"
@update:model-value="(value) => updateEndpointRulesJsonDraft(endpoint.id, value)" @update:model-value="(value) => updateEndpointRulesJsonDraft(endpoint.id, value)"