mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 14:54:48 +08:00
FIX: Too much blank padding in video oneboxes
This commit is contained in:
parent
61e35ce5dc
commit
6c9af6d81e
|
@ -495,6 +495,14 @@ video {
|
||||||
max-height: 500px;
|
max-height: 500px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.video {
|
||||||
|
// Height determined by aspect-ratio
|
||||||
|
max-height: 500px;
|
||||||
|
> video {
|
||||||
|
max-height: unset;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@-webkit-keyframes fadein {
|
@-webkit-keyframes fadein {
|
||||||
from {
|
from {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user