Skip to content

Commit 350c55d

Browse files
removed the gap between header and the tab content
1 parent 60e32c3 commit 350c55d

File tree

2 files changed

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

2 files changed

+4
-4
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export default function DeletePopUpForOrphanNodes({
149149
getSortedRowModel: getSortedRowModel(),
150150
initialState: {
151151
pagination: {
152-
pageSize: 8,
152+
pageSize: 5,
153153
},
154154
},
155155
});
@@ -232,7 +232,7 @@ export default function DeletePopUpForOrphanNodes({
232232
disabled={!table.getSelectedRowModel().rows.length}
233233
placement='top'
234234
>
235-
Select Node(s) to delete
235+
{table.getSelectedRowModel().rows.length?`Delete Selected Nodes (${table.getSelectedRowModel().rows.length})`:'Select Node(s) to delete'}
236236
</ButtonWithToolTip>
237237
</Flex>
238238
</div>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ export default function GraphEnhancementDialog({
4747
disableCloseButton={false}
4848
onClose={onClose}
4949
>
50-
<Dialog.Header className='flex justify-between self-end' id='chatbot-dialog-title'>
51-
<Box className='n-bg-palette-neutral-bg-weak p-4'>
50+
<Dialog.Header className='flex justify-between self-end !mb-0'>
51+
<Box className='n-bg-palette-neutral-bg-weak px-4'>
5252
<Box className='flex flex-row items-center mb-2'>
5353
<img src={graphenhancement} style={{ width: 200, height: 200, marginRight: 10 }} loading='lazy' />
5454
<Box className='flex flex-col'>

0 commit comments

Comments
 (0)