Handle line breaks in the manga description

This commit is contained in:
schroda
2023-12-18 21:12:02 +01:00
parent 1300c10d83
commit 226f2e170f

View File

@@ -241,7 +241,7 @@ export const MangaDetails: React.FC<IProps> = ({ manga }) => {
<BottomContentWrapper>
<Description>
<h4>{t('settings.about.title')}</h4>
<p>{manga.description}</p>
<p style={{ whiteSpace: 'pre-line' }}>{manga.description}</p>
</Description>
<Genres>
{manga.genre.map((g) => (