Fixed the overflow height of the Developers page's table (#6963)
Ref: https://github.com/twentyhq/twenty/issues/6962 As of now, if user has more than 20 API keys or webhooks, whole page has scroll, when for the end user (UX) it'd be better if each table had it's own scroll.
This commit is contained in:
@ -13,6 +13,8 @@ import { TableRow } from '@/ui/layout/table/components/TableRow';
|
||||
|
||||
const StyledTableBody = styled(TableBody)`
|
||||
border-bottom: 1px solid ${({ theme }) => theme.border.color.light};
|
||||
max-height: 260px;
|
||||
overflow-y: auto;
|
||||
`;
|
||||
|
||||
const StyledTableRow = styled(TableRow)`
|
||||
|
||||
@ -11,6 +11,8 @@ import { TableRow } from '@/ui/layout/table/components/TableRow';
|
||||
|
||||
const StyledTableBody = styled(TableBody)`
|
||||
border-bottom: 1px solid ${({ theme }) => theme.border.color.light};
|
||||
max-height: 260px;
|
||||
overflow-y: auto;
|
||||
`;
|
||||
|
||||
const StyledTableRow = styled(TableRow)`
|
||||
|
||||
Reference in New Issue
Block a user