fix oembeded video floating
This commit is contained in:
@@ -117,6 +117,10 @@ span.connector {
|
|||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.embed_video.active {
|
||||||
|
float: none;
|
||||||
|
}
|
||||||
|
|
||||||
.embed_rich {
|
.embed_rich {
|
||||||
display: block;
|
display: block;
|
||||||
transition: height .75s;
|
transition: height .75s;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<a class="embed_video" href='{{$embedurl}}' onclick='this.innerHTML=Base64.decode("{{$escapedhtml}}"); return false;'>
|
<a class="embed_video" href='{{$embedurl}}' onclick='this.innerHTML=Base64.decode("{{$escapedhtml}}"); this.classList.add("active"); return false;'>
|
||||||
<img width='{{$tw}}' height='{{$th}}' src='{{$turl}}' >
|
<img width='{{$tw}}' height='{{$th}}' src='{{$turl}}' >
|
||||||
<div style='width: {{$tw}}px; height: {{$th}}px;'></div>
|
<div style='width: {{$tw}}px; height: {{$th}}px;'></div>
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
Reference in New Issue
Block a user