Increase text size of table cells

This commit is contained in:
jeffvli 2023-01-30 01:05:02 -08:00
parent 5e693313d8
commit c79a992829
5 changed files with 14 additions and 14 deletions

View file

@ -25,14 +25,14 @@ export const AlbumArtistCell = ({ value, data }: ICellRendererParams) => {
<Text
$secondary
overflow="hidden"
size="sm"
size="md"
>
{value?.map((item: Artist | AlbumArtist, index: number) => (
<React.Fragment key={`row-${item.id}-${data.uniqueId}`}>
{index > 0 && (
<Text
$secondary
size="sm"
size="md"
style={{ display: 'inline-block' }}
>
,
@ -43,7 +43,7 @@ export const AlbumArtistCell = ({ value, data }: ICellRendererParams) => {
$secondary
component={Link}
overflow="hidden"
size="sm"
size="md"
to={generatePath(AppRoute.LIBRARY_ALBUM_ARTISTS_DETAIL, {
albumArtistId: item.id,
})}

View file

@ -25,14 +25,14 @@ export const ArtistCell = ({ value, data }: ICellRendererParams) => {
<Text
$secondary
overflow="hidden"
size="sm"
size="md"
>
{value?.map((item: Artist | AlbumArtist, index: number) => (
<React.Fragment key={`row-${item.id}-${data.uniqueId}`}>
{index > 0 && (
<Text
$secondary
size="sm"
size="md"
style={{ display: 'inline-block' }}
>
,
@ -43,7 +43,7 @@ export const ArtistCell = ({ value, data }: ICellRendererParams) => {
$secondary
component={Link}
overflow="hidden"
size="sm"
size="md"
to={generatePath(AppRoute.LIBRARY_ARTISTS_DETAIL, {
artistId: item.id,
})}

View file

@ -103,14 +103,14 @@ export const CombinedTitleCell = ({ value, rowIndex, node }: ICellRendererParams
<MetadataWrapper>
<Text
overflow="hidden"
size="sm"
size="md"
>
{value.name}
</Text>
<Text
$secondary
overflow="hidden"
size="sm"
size="md"
>
{artists?.length ? (
artists.map((artist: Artist | AlbumArtist, index: number) => (
@ -121,7 +121,7 @@ export const CombinedTitleCell = ({ value, rowIndex, node }: ICellRendererParams
$secondary
component={Link}
overflow="hidden"
size="sm"
size="md"
sx={{ width: 'fit-content' }}
to={generatePath(AppRoute.LIBRARY_ALBUM_ARTISTS_DETAIL, {
albumArtistId: artist.id,

View file

@ -61,7 +61,7 @@ export const GenericCell = (
$secondary={!primary}
component={Link}
overflow="hidden"
size="sm"
size="md"
to={displayedValue.link}
>
{isLink ? displayedValue.value : displayedValue}
@ -70,7 +70,7 @@ export const GenericCell = (
<Text
$secondary={!primary}
overflow="hidden"
size="sm"
size="md"
>
{displayedValue}
</Text>

View file

@ -11,14 +11,14 @@ export const GenreCell = ({ value, data }: ICellRendererParams) => {
<Text
$secondary
overflow="hidden"
size="sm"
size="md"
>
{value?.map((item: Artist | AlbumArtist, index: number) => (
<React.Fragment key={`row-${item.id}-${data.uniqueId}`}>
{index > 0 && (
<Text
$secondary
size="sm"
size="md"
style={{ display: 'inline-block' }}
>
,
@ -29,7 +29,7 @@ export const GenreCell = ({ value, data }: ICellRendererParams) => {
$secondary
component={Link}
overflow="hidden"
size="sm"
size="md"
to="/"
>
{item.name || '—'}