mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-11 07:55:52 +01:00
🐛 Fix line clamping in media display
This commit is contained in:
@@ -30,7 +30,7 @@ function MediaDisplay(props: { media: IMedia }) {
|
|||||||
})}
|
})}
|
||||||
>
|
>
|
||||||
<Group direction="column">
|
<Group direction="column">
|
||||||
<Group>
|
<Group noWrap>
|
||||||
<Title order={3}>{media.title}</Title>
|
<Title order={3}>{media.title}</Title>
|
||||||
<Anchor href={`https://www.imdb.com/title/${media.imdbId}`} target="_blank">
|
<Anchor href={`https://www.imdb.com/title/${media.imdbId}`} target="_blank">
|
||||||
<ActionIcon>
|
<ActionIcon>
|
||||||
@@ -48,7 +48,9 @@ function MediaDisplay(props: { media: IMedia }) {
|
|||||||
Season {media.seasonNumber} episode {media.episodeNumber}
|
Season {media.seasonNumber} episode {media.episodeNumber}
|
||||||
</Text>
|
</Text>
|
||||||
)}
|
)}
|
||||||
<Text align="justify">{media.overview}</Text>
|
<Text lineClamp={12} align="justify">
|
||||||
|
{media.overview}
|
||||||
|
</Text>
|
||||||
</Group>
|
</Group>
|
||||||
{/*Add the genres at the bottom of the poster*/}
|
{/*Add the genres at the bottom of the poster*/}
|
||||||
<Group>
|
<Group>
|
||||||
|
|||||||
Reference in New Issue
Block a user