mirror of
https://github.com/moodle/moodle.git
synced 2025-04-16 14:02:32 +02:00
Follow up for MDL-11430, Flickr & Youtube tag blocks should use list markup - Fix styles.
This commit is contained in:
parent
292ad3bfc9
commit
17a6161d20
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user