mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 12:30:12 +02:00
Adjust text size
This commit is contained in:
@@ -13,7 +13,7 @@ export const AlbumArtistCell = ({ value, data }: ICellRendererParams) => {
|
||||
<Text
|
||||
$secondary
|
||||
overflow="hidden"
|
||||
size="xs"
|
||||
size="sm"
|
||||
>
|
||||
{value?.map((item: Artist | AlbumArtist, index: number) => (
|
||||
<React.Fragment key={`row-${item.id}-${data.uniqueId}`}>
|
||||
@@ -21,7 +21,7 @@ export const AlbumArtistCell = ({ value, data }: ICellRendererParams) => {
|
||||
<Text
|
||||
$link
|
||||
$secondary
|
||||
size="xs"
|
||||
size="sm"
|
||||
style={{ display: 'inline-block' }}
|
||||
>
|
||||
,
|
||||
@@ -32,7 +32,7 @@ export const AlbumArtistCell = ({ value, data }: ICellRendererParams) => {
|
||||
$secondary
|
||||
component={Link}
|
||||
overflow="hidden"
|
||||
size="xs"
|
||||
size="sm"
|
||||
to={generatePath(AppRoute.LIBRARY_ALBUMARTISTS_DETAIL, {
|
||||
albumArtistId: item.id,
|
||||
})}
|
||||
|
||||
@@ -13,7 +13,7 @@ export const ArtistCell = ({ value, data }: ICellRendererParams) => {
|
||||
<Text
|
||||
$secondary
|
||||
overflow="hidden"
|
||||
size="xs"
|
||||
size="sm"
|
||||
>
|
||||
{value?.map((item: Artist | AlbumArtist, index: number) => (
|
||||
<React.Fragment key={`row-${item.id}-${data.uniqueId}`}>
|
||||
@@ -21,7 +21,7 @@ export const ArtistCell = ({ value, data }: ICellRendererParams) => {
|
||||
<Text
|
||||
$link
|
||||
$secondary
|
||||
size="xs"
|
||||
size="sm"
|
||||
style={{ display: 'inline-block' }}
|
||||
>
|
||||
,
|
||||
@@ -32,7 +32,7 @@ export const ArtistCell = ({ value, data }: ICellRendererParams) => {
|
||||
$secondary
|
||||
component={Link}
|
||||
overflow="hidden"
|
||||
size="xs"
|
||||
size="sm"
|
||||
to={generatePath(AppRoute.LIBRARY_ARTISTS_DETAIL, {
|
||||
artistId: item.id,
|
||||
})}
|
||||
|
||||
@@ -68,7 +68,7 @@ export const CombinedTitleCell = ({ value, rowIndex, node }: ICellRendererParams
|
||||
<Text
|
||||
$secondary
|
||||
overflow="hidden"
|
||||
size="xs"
|
||||
size="sm"
|
||||
>
|
||||
{artists?.length ? (
|
||||
artists.map((artist: Artist | AlbumArtist, index: number) => (
|
||||
@@ -79,7 +79,7 @@ export const CombinedTitleCell = ({ value, rowIndex, node }: ICellRendererParams
|
||||
$secondary
|
||||
component={Link}
|
||||
overflow="hidden"
|
||||
size="xs"
|
||||
size="sm"
|
||||
sx={{ width: 'fit-content' }}
|
||||
to={generatePath(AppRoute.LIBRARY_ALBUMARTISTS_DETAIL, {
|
||||
albumArtistId: artist.id,
|
||||
|
||||
@@ -40,7 +40,7 @@ export const GenericCell = (
|
||||
$secondary={!primary}
|
||||
component={Link}
|
||||
overflow="hidden"
|
||||
size="xs"
|
||||
size="sm"
|
||||
to={displayedValue.link}
|
||||
>
|
||||
{isLink ? displayedValue.value : displayedValue}
|
||||
@@ -49,7 +49,7 @@ export const GenericCell = (
|
||||
<Text
|
||||
$secondary={!primary}
|
||||
overflow="hidden"
|
||||
size="xs"
|
||||
size="sm"
|
||||
>
|
||||
{displayedValue}
|
||||
</Text>
|
||||
|
||||
@@ -11,7 +11,7 @@ export const GenreCell = ({ value, data }: ICellRendererParams) => {
|
||||
<Text
|
||||
$secondary
|
||||
overflow="hidden"
|
||||
size="xs"
|
||||
size="sm"
|
||||
>
|
||||
{value?.map((item: Artist | AlbumArtist, index: number) => (
|
||||
<React.Fragment key={`row-${item.id}-${data.uniqueId}`}>
|
||||
@@ -19,7 +19,7 @@ export const GenreCell = ({ value, data }: ICellRendererParams) => {
|
||||
<Text
|
||||
$link
|
||||
$secondary
|
||||
size="xs"
|
||||
size="sm"
|
||||
style={{ display: 'inline-block' }}
|
||||
>
|
||||
,
|
||||
@@ -30,7 +30,7 @@ export const GenreCell = ({ value, data }: ICellRendererParams) => {
|
||||
$secondary
|
||||
component={Link}
|
||||
overflow="hidden"
|
||||
size="xs"
|
||||
size="sm"
|
||||
to="/"
|
||||
>
|
||||
{item.name || '—'}
|
||||
|
||||
Reference in New Issue
Block a user