mirror of
https://github.com/friendica/friendica
synced 2024-11-17 22:23:41 +00:00
The oembed iframe now has a class name to use it for stylesheets.
This commit is contained in:
parent
37cd2c45d1
commit
b5e10329f2
2 changed files with 5 additions and 1 deletions
|
@ -210,7 +210,7 @@ function oembed_iframe($src,$width,$height) {
|
|||
$a = get_app();
|
||||
|
||||
$s = $a->get_baseurl()."/oembed/".base64url_encode($src);
|
||||
return '<iframe height="' . $height . '" width="' . $width . '" src="' . $s . '" frameborder="no" >' . t('Embedded content') . '</iframe>';
|
||||
return '<iframe class="embed_rich" height="' . $height . '" width="' . $width . '" src="' . $s . '" frameborder="no" >' . t('Embedded content') . '</iframe>';
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -84,6 +84,10 @@ span.connector {
|
|||
position: relative;
|
||||
}
|
||||
|
||||
.embed_rich {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Shared Messages */
|
||||
.shared_header {
|
||||
height: 32px;
|
||||
|
|
Loading…
Reference in a new issue