]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Make the cursor icon consistant across media types in account media gallery
authorThibG <thib@sitedethib.com>
Sat, 4 May 2019 15:36:43 +0000 (17:36 +0200)
committerThibaut Girka <thib@sitedethib.com>
Sat, 4 May 2019 17:16:51 +0000 (19:16 +0200)
app/javascript/flavours/glitch/features/account_gallery/components/media_item.js

index cc35097a79e15ac9b7910f744ce07aa7181270eb..1eae552f665711cc45875907d7e6127f8763ba9f 100644 (file)
@@ -132,7 +132,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>