diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss index 5571fd6f47..a775e126b7 100644 --- a/app/javascript/styles/mastodon/components.scss +++ b/app/javascript/styles/mastodon/components.scss @@ -6204,12 +6204,14 @@ a.status-card { inset-inline-start: 0; inset-inline-end: 0; bottom: 0; - align-items: center; - justify-content: space-around; // If set to center, the fullscreen image overlay is misaligned. > div { flex-shrink: 0; overflow: auto; + display: flex; + align-items: center; + justify-content: center; + width: 100%; } } diff --git a/app/javascript/styles_new/mastodon/components.scss b/app/javascript/styles_new/mastodon/components.scss index d5b61e6abb..6edf92490a 100644 --- a/app/javascript/styles_new/mastodon/components.scss +++ b/app/javascript/styles_new/mastodon/components.scss @@ -6085,12 +6085,14 @@ a.status-card { inset-inline-start: 0; inset-inline-end: 0; bottom: 0; - align-items: center; - justify-content: space-around; // If set to center, the fullscreen image overlay is misaligned. > div { flex-shrink: 0; overflow: auto; + display: flex; + align-items: center; + justify-content: center; + width: 100%; } }