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;
|
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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue