diff --git a/app/javascript/mastodon/components/video_player.js b/app/javascript/mastodon/components/video_player.js index 7722f8296..5e43ee7e6 100644 --- a/app/javascript/mastodon/components/video_player.js +++ b/app/javascript/mastodon/components/video_player.js @@ -138,7 +138,7 @@ export default class VideoPlayer extends React.PureComponent { if (!this.state.visible) { if (sensitive) { return ( -
+
{spoilerButton} @@ -146,7 +146,7 @@ export default class VideoPlayer extends React.PureComponent { ); } else { return ( -
+
{spoilerButton} diff --git a/app/javascript/styles/components.scss b/app/javascript/styles/components.scss index 6b766bf14..c26a243c1 100644 --- a/app/javascript/styles/components.scss +++ b/app/javascript/styles/components.scss @@ -2319,9 +2319,13 @@ button.icon-button.active i.fa-retweet { text-align: center; z-index: 100; - margin-top: 15px; // Add margin when used bare for NSFW video player - .media-gallery & { - margin-top: 0; + .status__content > & { + margin-top: 15px; // Add margin when used bare for NSFW video player + } + + &.full-width { + margin-left: -68px; + width: calc(100% + 80px); } }