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