Fixed: Overflow of absolute episode numbers with warning

This commit is contained in:
Mark McDowall 2020-08-16 10:14:05 -07:00
parent a206a5714e
commit e42aad4b2f
2 changed files with 7 additions and 1 deletions

View File

@ -16,6 +16,12 @@
width: 65px; width: 65px;
} }
.episodeNumberAnime {
composes: episodeNumber;
width: 95px;
}
.size { .size {
composes: cell from '~Components/Table/Cells/TableRowCell.css'; composes: cell from '~Components/Table/Cells/TableRowCell.css';

View File

@ -104,7 +104,7 @@ class EpisodeRow extends Component {
return ( return (
<TableRowCell <TableRowCell
key={name} key={name}
className={styles.episodeNumber} className={seriesType === 'anime' ? styles.episodeNumberAnime : styles.episodeNumber}
> >
<EpisodeNumber <EpisodeNumber
seasonNumber={seasonNumber} seasonNumber={seasonNumber}