diff --git a/app/javascript/mastodon/components/media_gallery.js b/app/javascript/mastodon/components/media_gallery.js index 4f2814a3a..1d2cbdaa3 100644 --- a/app/javascript/mastodon/components/media_gallery.js +++ b/app/javascript/mastodon/components/media_gallery.js @@ -171,7 +171,7 @@ class Item extends React.PureComponent { target='_blank' rel='noopener noreferrer' > - { !attachment.get('description') && } + { !attachment.get('description') && }
- {!alt && } + {!alt && } {!editable && } diff --git a/app/javascript/mastodon/features/video/index.js b/app/javascript/mastodon/features/video/index.js index 28646f830..c6b46493a 100644 --- a/app/javascript/mastodon/features/video/index.js +++ b/app/javascript/mastodon/features/video/index.js @@ -641,7 +641,7 @@ class Video extends React.PureComponent {
- {!alt && } + {!alt && } {(!onCloseVideo && !editable && !fullscreen && !this.props.alwaysVisible) && } {(!fullscreen && onOpenVideo) && } {onCloseVideo && } diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss index 1011d8040..7b668946c 100644 --- a/app/javascript/styles/mastodon/components.scss +++ b/app/javascript/styles/mastodon/components.scss @@ -6020,7 +6020,7 @@ a.status-card.compact:hover { } } -.media-gallery__item-no-alt { +.media-gallery__item-no-description { position: absolute; bottom: 4px; left: 4px;