diff --git a/blocks/tag_youtube/block_tag_youtube.php b/blocks/tag_youtube/block_tag_youtube.php
index 91ae2bdc933..03cc2dcf865 100644
--- a/blocks/tag_youtube/block_tag_youtube.php
+++ b/blocks/tag_youtube/block_tag_youtube.php
@@ -156,13 +156,13 @@ class block_tag_youtube extends block_base {
foreach($videos as $video){
$text .= '
';
$text .= '';
- $text .= '
';
+ $text .= '
';
$text .= s($video['title']). '';
- $text .= '
';
+ $text .= '';
$text .= format_time($video['length_seconds']);
- $text .= "\n";
+ $text .= "
\n";
}
- $text .= "\n";
+ $text .= "\n";
return $text;
}
diff --git a/theme/standard/styles_layout.css b/theme/standard/styles_layout.css
index 0485568570d..122a7475731 100644
--- a/theme/standard/styles_layout.css
+++ b/theme/standard/styles_layout.css
@@ -1398,12 +1398,13 @@ a.skip-block:focus, a.skip-block:active {
}
.block_tag_youtube .youtube-thumb {
- width:75px;
- height:50px;
+ padding: 3px;
+ padding-bottom: 0.5em;
+ display: block;
+ float: left;
}
-.block_tag_youtube .yt-video-entry{
- font-size:10px;
- line-height:11px;
+.block_tag_youtube .yt-video-entry li {
+ clear: left;
}
.block_tag_flickr .flickr-photos {