Skip to content

Commit b5e1bb7

Browse files
authored
Fix: replace overflow-hidden w/ auto for new logging preview (supabase#39979)
* replace overflow-hidden w/ auto * trying: wrapped with overflow
1 parent 4608b9a commit b5e1bb7

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

apps/studio/components/interfaces/UnifiedLogs/UnifiedLogs.tsx

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -370,9 +370,7 @@ export const UnifiedLogs = () => {
370370
chartConfig={filteredChartConfig}
371371
/>
372372
</DataTableHeaderLayout>
373-
374373
<Separator />
375-
376374
<ResizablePanelGroup direction="horizontal" className="w-full h-full">
377375
<ResizablePanel
378376
defaultSize={selectedRowKey ? 60 : 100}
@@ -388,22 +386,24 @@ export const UnifiedLogs = () => {
388386
isFetchingButNotPaginating && 'opacity-60 transition-opacity duration-150'
389387
)}
390388
>
391-
<DataTableInfinite
392-
columns={UNIFIED_LOGS_COLUMNS}
393-
totalRows={totalDBRowCount}
394-
filterRows={filterDBRowCount}
395-
totalRowsFetched={totalFetched}
396-
fetchNextPage={fetchNextPage}
397-
hasNextPage={hasNextPage}
398-
renderLiveRow={(props) => {
399-
if (!liveMode.timestamp) return null
400-
if (props?.row?.original.id !== liveMode?.row?.id) return null
401-
return <LiveRow colSpan={UNIFIED_LOGS_COLUMNS.length - 1} />
402-
}}
403-
setColumnOrder={setColumnOrder}
404-
setColumnVisibility={setColumnVisibility}
405-
searchParamsParser={SEARCH_PARAMS_PARSER}
406-
/>
389+
<div className="h-full overflow-auto">
390+
<DataTableInfinite
391+
columns={UNIFIED_LOGS_COLUMNS}
392+
totalRows={totalDBRowCount}
393+
filterRows={filterDBRowCount}
394+
totalRowsFetched={totalFetched}
395+
fetchNextPage={fetchNextPage}
396+
hasNextPage={hasNextPage}
397+
renderLiveRow={(props) => {
398+
if (!liveMode.timestamp) return null
399+
if (props?.row?.original.id !== liveMode?.row?.id) return null
400+
return <LiveRow colSpan={UNIFIED_LOGS_COLUMNS.length - 1} />
401+
}}
402+
setColumnOrder={setColumnOrder}
403+
setColumnVisibility={setColumnVisibility}
404+
searchParamsParser={SEARCH_PARAMS_PARSER}
405+
/>
406+
</div>
407407
</ResizablePanel>
408408
<LogsListPanel selectedRow={selectedRow} />
409409
</ResizablePanelGroup>

0 commit comments

Comments
 (0)