fix(client): tighten home page list vertical density
Reduce the recent/favorites/created-by-me list tables from verticalSpacing="sm" (12px Td padding) to a numeric 6px, removing ~12px of extra height per row so the home page lists pack closer together. The shared RecentChanges table also drives the space home view, so both stay consistent.
This commit is contained in:
@@ -39,7 +39,7 @@ export default function RecentChanges({ spaceId }: Props) {
|
||||
return pages.length > 0 ? (
|
||||
<>
|
||||
<Table.ScrollContainer minWidth={500}>
|
||||
<Table highlightOnHover verticalSpacing="sm">
|
||||
<Table highlightOnHover verticalSpacing={6}>
|
||||
<Table.Tbody>
|
||||
{pages.map((page) => (
|
||||
<Table.Tr key={page.id} className={rowClasses.row}>
|
||||
|
||||
@@ -47,7 +47,7 @@ export default function CreatedByMe({ spaceId }: Props) {
|
||||
return pages.length > 0 ? (
|
||||
<>
|
||||
<Table.ScrollContainer minWidth={500}>
|
||||
<Table highlightOnHover verticalSpacing="sm">
|
||||
<Table highlightOnHover verticalSpacing={6}>
|
||||
<Table.Tbody>
|
||||
{pages.map((page) => (
|
||||
<Table.Tr key={page.id} className={rowClasses.row}>
|
||||
|
||||
@@ -47,7 +47,7 @@ export default function FavoritesPages({ spaceId }: Props) {
|
||||
return favorites.length > 0 ? (
|
||||
<>
|
||||
<Table.ScrollContainer minWidth={500}>
|
||||
<Table highlightOnHover verticalSpacing="sm">
|
||||
<Table highlightOnHover verticalSpacing={6}>
|
||||
<Table.Tbody>
|
||||
{favorites.map((fav) =>
|
||||
fav.page ? (
|
||||
|
||||
Reference in New Issue
Block a user