[Glitch] Prevent vertical videos from overflowing the viewport
Port 861625fdca4577658299e1b2ad08bfe3d4fe434f to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
44e6abe48b
commit
281d12d5d6
@ -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;
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user