Skip to content

Commit c6309b7

Browse files
fixed the overflow issues
1 parent 6686261 commit c6309b7

File tree

2 files changed

+7
-4
lines changed
  • frontend/src/components/Popups/GraphEnhancementDialog

2 files changed

+7
-4
lines changed

frontend/src/components/Popups/GraphEnhancementDialog/DeleteTabForOrphanNodes/index.tsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,14 +134,12 @@ export default function DeletePopUpForOrphanNodes({
134134
},
135135
header: () => <span>Related Documents </span>,
136136
footer: (info) => info.column.id,
137-
maxSize: 280,
138137
}),
139138
columnHelper.accessor((row) => row.chunkConnections, {
140139
id: 'Connected Chunks',
141140
cell: (info) => <i>{info?.getValue()}</i>,
142141
header: () => <span>Connected Chunks</span>,
143142
footer: (info) => info.column.id,
144-
minSize: 280,
145143
}),
146144
],
147145
[]
@@ -226,9 +224,14 @@ export default function DeletePopUpForOrphanNodes({
226224
zebraStriping: true,
227225
headerStyle: 'clean',
228226
}}
227+
rootProps={
228+
{
229+
className:'max-h-[355px] !overflow-y-auto'
230+
}
231+
}
229232
isLoading={isLoading}
230233
components={{
231-
Body: (props) => <DataGridComponents.Body {...props} />,
234+
Body: (props) => <DataGridComponents.Body {...props} />,
232235
PaginationNumericButton: ({ isSelected, innerProps, ...restProps }) => {
233236
return (
234237
<DataGridComponents.PaginationNumericButton

frontend/src/components/Popups/GraphEnhancementDialog/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export default function GraphEnhancementDialog({
7272
</Box>
7373
</Box>
7474
</Dialog.Header>
75-
<Dialog.Content className='flex flex-col n-gap-token- grow overflow-auto w-[90%] mx-auto'>
75+
<Dialog.Content className='flex flex-col n-gap-token- grow w-[90%] mx-auto'>
7676
<Tabs.TabPanel className='n-flex n-flex-col n-gap-token-4 n-p-token-6' value={activeTab} tabId={0}>
7777
<div className='w-[80%] mx-auto'>
7878
<EntityExtractionSettings

0 commit comments

Comments
 (0)