Added a max-height to story link preview
This commit is contained in:
parent
b246b3d8af
commit
704107a256
1 changed files with 6 additions and 0 deletions
|
@ -9,6 +9,8 @@
|
|||
display: inline-flex;
|
||||
max-width: 560px;
|
||||
min-width: 560px;
|
||||
// no taller than 2:3
|
||||
max-height: calc(560px / (2 / 3));
|
||||
overflow: hidden;
|
||||
|
||||
&__content {
|
||||
|
@ -64,6 +66,10 @@
|
|||
}
|
||||
}
|
||||
|
||||
&__icon-container {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
&--tall {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue