refactor: improve padding in dialog content and enhance row selection functionality in ArchivedChats and DataTable components

This commit is contained in:
Marco Beretta 2025-09-26 22:04:25 +02:00
parent 7b588a607b
commit b5d32be229
No known key found for this signature in database
GPG key ID: D918033D8E74CC11
3 changed files with 117 additions and 87 deletions

View file

@ -323,7 +323,7 @@ export default function SharedLinks() {
{localize('com_ui_manage')}
</Button>
</OGDialogTrigger>
<OGDialogContent className={cn('w-11/12 max-w-6xl', isSmallScreen && 'px-0 pb-0')}>
<OGDialogContent className={cn('w-11/12 max-w-6xl', isSmallScreen && 'px-1 pb-1')}>
<OGDialogHeader>
<OGDialogTitle>{localize('com_nav_shared_links')}</OGDialogTitle>
</OGDialogHeader>

View file

@ -364,7 +364,7 @@ export default function ArchivedChatsTable() {
{localize('com_ui_manage')}
</Button>
</OGDialogTrigger>
<OGDialogContent className={cn('w-11/12 max-w-6xl', isSmallScreen && 'px-0 pb-0')}>
<OGDialogContent className={cn('w-11/12 max-w-6xl', isSmallScreen && 'px-1 pb-1')}>
<OGDialogHeader>
<OGDialogTitle>{localize('com_nav_archived_chats')}</OGDialogTitle>
</OGDialogHeader>
@ -381,8 +381,8 @@ export default function ArchivedChatsTable() {
debounce: 300,
},
selection: {
enableRowSelection: false,
showCheckboxes: false,
enableRowSelection: true,
showCheckboxes: true,
},
}}
filterValue={searchValue}