diff --git a/app/javascript/flavours/glitch/styles/components.scss b/app/javascript/flavours/glitch/styles/components.scss index 3c499069f2..15af2e10fa 100644 --- a/app/javascript/flavours/glitch/styles/components.scss +++ b/app/javascript/flavours/glitch/styles/components.scss @@ -7986,6 +7986,8 @@ img.modal-warning { position: relative; background: $base-shadow-color; max-width: 100%; + max-height: max(400px, 60vh); + margin-inline: auto; border-radius: 8px; box-sizing: border-box; color: $white; diff --git a/app/javascript/flavours/glitch/styles_new/mastodon/components.scss b/app/javascript/flavours/glitch/styles_new/mastodon/components.scss index 61faaf1f32..cd0029b922 100644 --- a/app/javascript/flavours/glitch/styles_new/mastodon/components.scss +++ b/app/javascript/flavours/glitch/styles_new/mastodon/components.scss @@ -7809,6 +7809,8 @@ img.modal-warning { color: var(--color-text-on-media); background: var(--color-bg-media); max-width: 100%; + max-height: max(400px, 60vh); + margin-inline: auto; border-radius: 8px; box-sizing: border-box; display: flex;