Added a max-height to story link preview

This commit is contained in:
Alvaro 2022-11-29 17:12:12 -07:00 committed by GitHub
parent b246b3d8af
commit 704107a256
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,6 +9,8 @@
display: inline-flex; display: inline-flex;
max-width: 560px; max-width: 560px;
min-width: 560px; min-width: 560px;
// no taller than 2:3
max-height: calc(560px / (2 / 3));
overflow: hidden; overflow: hidden;
&__content { &__content {
@ -64,6 +66,10 @@
} }
} }
&__icon-container {
overflow: hidden;
}
&--tall { &--tall {
flex-direction: column; flex-direction: column;
} }