mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-20 05:41:36 +00:00
[Glitch] Prevent vertical videos from overflowing the viewport
Port 861625fdca to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
@@ -7986,6 +7986,8 @@ img.modal-warning {
|
|||||||
position: relative;
|
position: relative;
|
||||||
background: $base-shadow-color;
|
background: $base-shadow-color;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
max-height: max(400px, 60vh);
|
||||||
|
margin-inline: auto;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
color: $white;
|
color: $white;
|
||||||
|
|||||||
@@ -7809,6 +7809,8 @@ img.modal-warning {
|
|||||||
color: var(--color-text-on-media);
|
color: var(--color-text-on-media);
|
||||||
background: var(--color-bg-media);
|
background: var(--color-bg-media);
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
max-height: max(400px, 60vh);
|
||||||
|
margin-inline: auto;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
Reference in New Issue
Block a user