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:
vvzvlad
2026-06-18 22:47:05 +03:00
parent 0457ba817a
commit 20867b0689
3 changed files with 3 additions and 3 deletions

View File

@@ -39,7 +39,7 @@ export default function RecentChanges({ spaceId }: Props) {
return pages.length > 0 ? ( return pages.length > 0 ? (
<> <>
<Table.ScrollContainer minWidth={500}> <Table.ScrollContainer minWidth={500}>
<Table highlightOnHover verticalSpacing="sm"> <Table highlightOnHover verticalSpacing={6}>
<Table.Tbody> <Table.Tbody>
{pages.map((page) => ( {pages.map((page) => (
<Table.Tr key={page.id} className={rowClasses.row}> <Table.Tr key={page.id} className={rowClasses.row}>

View File

@@ -47,7 +47,7 @@ export default function CreatedByMe({ spaceId }: Props) {
return pages.length > 0 ? ( return pages.length > 0 ? (
<> <>
<Table.ScrollContainer minWidth={500}> <Table.ScrollContainer minWidth={500}>
<Table highlightOnHover verticalSpacing="sm"> <Table highlightOnHover verticalSpacing={6}>
<Table.Tbody> <Table.Tbody>
{pages.map((page) => ( {pages.map((page) => (
<Table.Tr key={page.id} className={rowClasses.row}> <Table.Tr key={page.id} className={rowClasses.row}>

View File

@@ -47,7 +47,7 @@ export default function FavoritesPages({ spaceId }: Props) {
return favorites.length > 0 ? ( return favorites.length > 0 ? (
<> <>
<Table.ScrollContainer minWidth={500}> <Table.ScrollContainer minWidth={500}>
<Table highlightOnHover verticalSpacing="sm"> <Table highlightOnHover verticalSpacing={6}>
<Table.Tbody> <Table.Tbody>
{favorites.map((fav) => {favorites.map((fav) =>
fav.page ? ( fav.page ? (