summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2020-12-23 19:55:23 +0100
committerGitHub <noreply@github.com>2020-12-23 19:55:23 +0100
commitb08d2d4f78e143189c0dc3470a8dc186bf441419 (patch)
treec2c12df30e8ae909e1ffb2be97597a849371b22a
parent4950e59cdcd59a181238d3d504398de188e19319 (diff)
Fix media modal buttons not showing up on mobile (#15417)
Fixes #15374 When the pop-out player was introduced, it had tweaks for the mobile view, but it's now disabled in mobile mode and the styling was reused for modals, causing the footer to be hidden on mobile without a good reason. Co-authored-by: Claire <claire.github-309c@sitedethib.com>
-rw-r--r--app/javascript/styles/mastodon/components.scss15
1 files changed, 0 insertions, 15 deletions
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss
index 2163d74fc42..c248f681ef0 100644
--- a/app/javascript/styles/mastodon/components.scss
+++ b/app/javascript/styles/mastodon/components.scss
@@ -7194,21 +7194,6 @@ noscript {
.audio-player {
border-radius: 0;
}
-
- @media screen and (max-width: 415px) {
- width: 210px;
- bottom: 10px;
- right: 10px;
-
- &__footer {
- display: none;
- }
-
- .video-player,
- .audio-player {
- border-radius: 0 0 4px 4px;
- }
- }
}
.picture-in-picture-placeholder {