diff --git a/app/javascript/mastodon/components/status.js b/app/javascript/mastodon/components/status.js
index 33e4a25e4f..a200570a15 100644
--- a/app/javascript/mastodon/components/status.js
+++ b/app/javascript/mastodon/components/status.js
@@ -176,7 +176,7 @@ class Status extends ImmutablePureComponent {
else if (settings.getIn(['collapsed', 'auto', 'all'])) this.collapse();
else if (settings.getIn(['collapsed', 'auto', 'lengthy']) && node.clientHeight > 400) this.collapse();
else if (settings.getIn(['collapsed', 'auto', 'replies']) && status.get('in_reply_to_id', null) !== null) this.collapse();
- else if (settings.getIn(['collapsed', 'auto', 'media']) && status.get('media_attachments').size > 0) this.collapse();
+ else if (settings.getIn(['collapsed', 'auto', 'media']) && !(status.get('spoiler_text').length > 0) && status.get('media_attachments').size > 0) this.collapse();
if (!this.props.intersectionObserverWrapper) {
// TODO: enable IntersectionObserver optimization for notification statuses.
@@ -268,7 +268,7 @@ class Status extends ImmutablePureComponent {
render () {
let media = null;
- let mediaType = null;
+ let mediaIcon = null;
let statusAvatar;
// Exclude intersectionObserverWrapper from `other` variable
@@ -297,10 +297,10 @@ class Status extends ImmutablePureComponent {
} else if (status.getIn(['media_attachments', 0, 'type']) === 'video') {
media =
{' '} - +
{mentionsPlaceholder} diff --git a/app/javascript/styles/components.scss b/app/javascript/styles/components.scss index 516a06de5f..e75f92e9df 100644 --- a/app/javascript/styles/components.scss +++ b/app/javascript/styles/components.scss @@ -584,6 +584,10 @@ content: ""; } + .status__display-name:hover strong { + text-decoration: none; + } + .status__content { height: 20px; overflow: hidden;