Nieuw nieuwsblokje: oembed
This commit is contained in:
@@ -446,3 +446,19 @@ a.fixed-height img {
|
||||
.text-muted {
|
||||
color: #7C7C7C;
|
||||
}
|
||||
|
||||
.oembed {
|
||||
height: auto;
|
||||
padding-bottom: 56.25%;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.oembed iframe {
|
||||
height: 100%;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@@ -79,6 +79,8 @@
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
@elseif($block->type == "oembed")
|
||||
<div class="oembed" data-url="{{$block->url}}">{!!$block->html!!}</div>
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
|
||||
Reference in New Issue
Block a user