Improve automation test display layout and spacing
This commit is contained in:
parent
f0eb659cb5
commit
8d52c772ad
|
@ -67,27 +67,20 @@
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
<div class="tabs">
|
<div class="tabs">
|
||||||
<Tabs quiet noPadding selected="Input">
|
<Tabs noHorizPadding selected="Input">
|
||||||
<Tab title="Input">
|
<Tab title="Input">
|
||||||
<div style="padding: 10px 10px 10px 10px;">
|
<TextArea
|
||||||
<TextArea
|
minHeight="80px"
|
||||||
minHeight="80px"
|
disabled
|
||||||
disabled
|
value={textArea(filteredResults?.[idx]?.inputs, "No input")}
|
||||||
value={textArea(filteredResults?.[idx]?.inputs, "No input")}
|
/>
|
||||||
/>
|
</Tab>
|
||||||
</div></Tab
|
|
||||||
>
|
|
||||||
<Tab title="Output">
|
<Tab title="Output">
|
||||||
<div style="padding: 10px 10px 10px 10px;">
|
<TextArea
|
||||||
<TextArea
|
minHeight="100px"
|
||||||
minHeight="100px"
|
disabled
|
||||||
disabled
|
value={textArea(filteredResults?.[idx]?.outputs, "No output")}
|
||||||
value={textArea(
|
/>
|
||||||
filteredResults?.[idx]?.outputs,
|
|
||||||
"No output"
|
|
||||||
)}
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</Tab>
|
</Tab>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
</div>
|
</div>
|
||||||
|
@ -113,6 +106,7 @@
|
||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
position: relative;
|
position: relative;
|
||||||
flex: 1 1 auto;
|
flex: 1 1 auto;
|
||||||
|
padding: 0 var(--spacing-xl) var(--spacing-xl) var(--spacing-xl);
|
||||||
}
|
}
|
||||||
|
|
||||||
.block {
|
.block {
|
||||||
|
|
|
@ -395,7 +395,7 @@
|
||||||
line-height: 1em;
|
line-height: 1em;
|
||||||
margin-bottom: var(--spacing-s);
|
margin-bottom: var(--spacing-s);
|
||||||
}
|
}
|
||||||
.tab-wrap :global(.spectrum-Tabs) {
|
.tab-wrap :global(> .spectrum-Tabs) {
|
||||||
padding-left: var(--spectrum-alias-grid-gutter-large);
|
padding-left: var(--spectrum-alias-grid-gutter-large);
|
||||||
padding-right: var(--spectrum-alias-grid-gutter-large);
|
padding-right: var(--spectrum-alias-grid-gutter-large);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue