mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-02-10 08:52:13 -05:00
[Glitch] Remove system tooltip for alt text in web UI
Port 956873362edb33e0089367b279f03bb42e0f1829 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
a21f35786d
commit
560eaff2c4
@ -147,7 +147,6 @@ class Item extends PureComponent {
|
|||||||
srcSet={srcSet}
|
srcSet={srcSet}
|
||||||
sizes={sizes}
|
sizes={sizes}
|
||||||
alt={description}
|
alt={description}
|
||||||
title={description}
|
|
||||||
lang={lang}
|
lang={lang}
|
||||||
style={{ objectPosition: letterbox ? null : `${x}% ${y}%` }}
|
style={{ objectPosition: letterbox ? null : `${x}% ${y}%` }}
|
||||||
onLoad={this.handleImageLoad}
|
onLoad={this.handleImageLoad}
|
||||||
@ -169,7 +168,6 @@ class Item extends PureComponent {
|
|||||||
<video
|
<video
|
||||||
className={`media-gallery__item-gifv-thumbnail${letterbox ? ' letterbox' : ''}`}
|
className={`media-gallery__item-gifv-thumbnail${letterbox ? ' letterbox' : ''}`}
|
||||||
aria-label={description}
|
aria-label={description}
|
||||||
title={description}
|
|
||||||
lang={lang}
|
lang={lang}
|
||||||
role='application'
|
role='application'
|
||||||
src={attachment.get('url')}
|
src={attachment.get('url')}
|
||||||
|
@ -96,7 +96,6 @@ export const MediaItem: React.FC<{
|
|||||||
<img
|
<img
|
||||||
src={previewUrl || avatarUrl}
|
src={previewUrl || avatarUrl}
|
||||||
alt={description}
|
alt={description}
|
||||||
title={description}
|
|
||||||
lang={lang}
|
lang={lang}
|
||||||
onLoad={handleImageLoad}
|
onLoad={handleImageLoad}
|
||||||
/>
|
/>
|
||||||
@ -116,7 +115,6 @@ export const MediaItem: React.FC<{
|
|||||||
<img
|
<img
|
||||||
src={previewUrl}
|
src={previewUrl}
|
||||||
alt={description}
|
alt={description}
|
||||||
title={description}
|
|
||||||
lang={lang}
|
lang={lang}
|
||||||
style={{ objectPosition: `${x}% ${y}%` }}
|
style={{ objectPosition: `${x}% ${y}%` }}
|
||||||
onLoad={handleImageLoad}
|
onLoad={handleImageLoad}
|
||||||
@ -134,7 +132,6 @@ export const MediaItem: React.FC<{
|
|||||||
<video
|
<video
|
||||||
className='media-gallery__item-gifv-thumbnail'
|
className='media-gallery__item-gifv-thumbnail'
|
||||||
aria-label={description}
|
aria-label={description}
|
||||||
title={description}
|
|
||||||
lang={lang}
|
lang={lang}
|
||||||
src={fullUrl}
|
src={fullUrl}
|
||||||
onMouseEnter={handleMouseEnter}
|
onMouseEnter={handleMouseEnter}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user