mirror of
https://github.com/mastodon/mastodon.git
synced 2025-11-29 19:03:41 +00:00
Prevent vertical videos from overflowing the viewport (#36966)
This commit is contained in:
parent
ca53195b31
commit
861625fdca
|
|
@ -7699,6 +7699,8 @@ a.status-card {
|
|||
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;
|
||||
|
|
|
|||
|
|
@ -7492,6 +7492,8 @@ a.status-card {
|
|||
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…
Reference in New Issue
Block a user