Commit 17a6161d authored by nfreear's avatar nfreear
Browse files

Follow up for MDL-11430, Flickr & Youtube tag blocks should use list markup - Fix styles.

parent 292ad3bf
......@@ -156,13 +156,13 @@ class block_tag_youtube extends block_base {
foreach($videos as $video){
$text .= '<li>';
$text .= '<a href="'. s($video['url']) . '">';
$text .= '<img alt="" class="youtube-thumb" style="padding:3px;" src="'. $video['thumbnail_url'] .'" /> <span>';
$text .= '<img alt="" class="youtube-thumb" src="'. $video['thumbnail_url'] .'" /> <span>';
$text .= s($video['title']). '</span></a>';
$text .= '<br/>';
$text .= '<div>';
$text .= format_time($video['length_seconds']);
$text .= "</li>\n";
$text .= "</div></li>\n";
}
$text .= "</ul>\n";
$text .= "</ul><div class=\"clearer\"></div>\n";
return $text;
}
......
......@@ -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 {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment