Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3b90aff0 authored by Scott Main's avatar Scott Main
Browse files

add fixed size to training icons (and remove whitespaces)

Change-Id: Iad8b597b9f181833d9f1d63e128abb49486fa543
parent c774a312
Loading
Loading
Loading
Loading
+121 −119
Original line number Diff line number Diff line
@@ -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');
      }