Minor account media gallery fixes (#10695)
* Make the cursor icon consistant across media types in account media gallery * Fix the video player modal causing scroll position to reset
This commit is contained in:
parent
c88d9e524b
commit
4f73cde4e1
2 changed files with 4 additions and 3 deletions
|
@ -133,7 +133,7 @@ export default class MediaItem extends ImmutablePureComponent {
|
|||
|
||||
return (
|
||||
<div className='account-gallery__item' style={{ width, height }}>
|
||||
<a className='media-gallery__item-thumbnail' href={status.get('url')} target='_blank' style={{ cursor: 'pointer' }} onClick={this.handleClick}>
|
||||
<a className='media-gallery__item-thumbnail' href={status.get('url')} target='_blank' onClick={this.handleClick}>
|
||||
<canvas width={32} height={32} ref={this.setCanvasRef} className={classNames('media-gallery__preview', { 'media-gallery__preview--hidden': visible && loaded })} />
|
||||
{visible && thumbnail}
|
||||
</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue