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 8bb1727d0d
commit 4e2bfb72f6
1 changed files with 14 additions and 9 deletions

View File

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