Fixing issue with table expanding too far with large response datasets.

This commit is contained in:
mike12345567 2021-12-09 13:23:06 +00:00
parent 4cd28fa7c4
commit da3df17699
1 changed files with 14 additions and 9 deletions

View File

@ -273,15 +273,17 @@
<KeyValueBuilder object={response.extra?.headers} readOnly />
</Tab>
<Tab title="Preview">
{#if response}
<Table
schema={response?.schema}
data={response?.rows}
allowEditColumns={false}
allowEditRows={false}
allowSelectRows={false}
/>
{/if}
<div class="table">
{#if response}
<Table
schema={response?.schema}
data={response?.rows}
allowEditColumns={false}
allowEditRows={false}
allowSelectRows={false}
/>
{/if}
</div>
</Tab>
<div class="stats">
<Label size="L">
@ -316,6 +318,9 @@
margin: 0 auto;
height: 100%;
}
.table {
width: 960px;
}
.url-block {
display: flex;
gap: var(--spacing-s);