am 76451706: am bb385125: am 3b90aff0: add fixed size to training icons (and remove whitespaces)
* commit '76451706d86daaf38889254f56e47ba989619b9c': add fixed size to training icons (and remove whitespaces)
This commit is contained in:
commit
ad0f14f4ef
|
@ -335,12 +335,14 @@ false; // navigate across topic boundaries only in design docs
|
|||
$lessons = $(this).closest('li').find('ul li a');
|
||||
|
||||
if ($lessons.length) {
|
||||
$imgIcon = $('<img src="'+toRoot+'assets/images/resource-tutorial.png" alt=""/>');
|
||||
$imgIcon = $('<img src="'+toRoot+'assets/images/resource-tutorial.png" '
|
||||
+ ' width="64" height="64" alt=""/>');
|
||||
$lessons.each(function(index) {
|
||||
$olLessons.append('<li><a href="'+$(this).attr('href')+'">' + $(this).html()+'</a></li>');
|
||||
});
|
||||
} else {
|
||||
$imgIcon = $('<img src="'+toRoot+'assets/images/resource-article.png" alt=""/>');
|
||||
$imgIcon = $('<img src="'+toRoot+'assets/images/resource-article.png" '
|
||||
+ ' width="64" height="64" alt=""/>');
|
||||
$pSummary.addClass('article');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue