mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
spread tabIndex in MetaPreview removed
This commit is contained in:
parent
3f8c65db2f
commit
9cfc3fb5ac
1 changed files with 3 additions and 3 deletions
|
|
@ -162,8 +162,8 @@ const MetaPreview = ({ className, compact, name, logo, background, runtime, rele
|
|||
className={styles['action-button']}
|
||||
icon={inLibrary ? 'ic_removelib' : 'ic_addlib'}
|
||||
label={inLibrary ? 'Remove from Library' : 'Add to library'}
|
||||
tabIndex={compact ? -1 : 0}
|
||||
onClick={toggleInLibrary}
|
||||
{...(compact ? { tabIndex: -1 } : null)}
|
||||
/>
|
||||
:
|
||||
null
|
||||
|
|
@ -174,8 +174,8 @@ const MetaPreview = ({ className, compact, name, logo, background, runtime, rele
|
|||
className={styles['action-button']}
|
||||
icon={'ic_movies'}
|
||||
label={'Trailer'}
|
||||
tabIndex={compact ? -1 : 0}
|
||||
href={`#/player?stream=${JSON.stringify(trailer)}`}
|
||||
{...(compact ? { tabIndex: -1 } : null)}
|
||||
/>
|
||||
:
|
||||
null
|
||||
|
|
@ -187,8 +187,8 @@ const MetaPreview = ({ className, compact, name, logo, background, runtime, rele
|
|||
className={styles['action-button']}
|
||||
icon={'ic_share'}
|
||||
label={'Share'}
|
||||
tabIndex={compact ? -1 : 0}
|
||||
onClick={openShareModal}
|
||||
{...(compact ? { tabIndex: -1 } : null)}
|
||||
/>
|
||||
{
|
||||
shareModalOpen ?
|
||||
|
|
|
|||
Loading…
Reference in a new issue