mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-08-15 06:26:21 +00:00
AddonDetails version moved in title container
This commit is contained in:
parent
02fce70034
commit
2282720509
1 changed files with 10 additions and 11 deletions
|
|
@ -20,21 +20,20 @@ const AddonDetails = ({ className, id, name, version, logo, description, types,
|
|||
alt={' '}
|
||||
renderFallback={renderLogoFallback}
|
||||
/>
|
||||
<span className={styles['name']}>{typeof name === 'string' && name.length > 0 ? name : id}</span>
|
||||
<div className={styles['name-container']}>
|
||||
<span className={styles['name']}>{typeof name === 'string' && name.length > 0 ? name : id}</span>
|
||||
{
|
||||
typeof version === 'string' && version.length > 0 ?
|
||||
<span className={styles['version']}>v. {version}</span>
|
||||
:
|
||||
null
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
{
|
||||
typeof description === 'string' && description.length > 0 ?
|
||||
<div className={styles['section-container']}>
|
||||
<span className={styles['section-header']}>{description}</span>
|
||||
</div>
|
||||
:
|
||||
null
|
||||
}
|
||||
{
|
||||
typeof version === 'string' && version.length > 0 ?
|
||||
<div className={styles['section-container']}>
|
||||
<span className={styles['section-header']}>Version: </span>
|
||||
<span className={styles['section-label']}>{version}</span>
|
||||
<span className={styles['section-label']}>{description}</span>
|
||||
</div>
|
||||
:
|
||||
null
|
||||
|
|
|
|||
Loading…
Reference in a new issue