Merge branch 'MDL-65661-master' of git://github.com/peterRd/moodle
authorSara Arjona <sara@moodle.com>
Wed, 22 May 2019 12:57:39 +0000 (14:57 +0200)
committerSara Arjona <sara@moodle.com>
Wed, 22 May 2019 12:57:39 +0000 (14:57 +0200)
blocks/myoverview/templates/view-cards.mustache
course/templates/coursecard.mustache

index b940a1e..0a995fd 100644 (file)
@@ -55,7 +55,7 @@
         <span class="sr-only">
             {{#str}}aria:coursecategory, core_course{{/str}}
         </span>
-        <span class="categoryname">
+        <span class="categoryname text-truncate">
             {{{coursecategory}}}
         </span>
     {{/coursecategory}}
index 1aba15c..2d45db2 100644 (file)
@@ -43,8 +43,8 @@
     </a>
     <div class="card-body pr-1 course-info-container" id="course-info-container-{{id}}-{{uniqid}}">
         <div class="d-flex align-items-start">
-            <div>
-                <div class="text-muted muted d-flex w-100 mb-1 text-truncate flex-wrap">
+            <div class="w-100 text-truncate">
+                <div class="text-muted muted d-flex mb-1 flex-wrap">
                     {{$coursecategory}}{{/coursecategory}}
                     {{#showshortname}}
                     {{$divider}}{{/divider}}
@@ -56,7 +56,7 @@
                     </div>
                     {{/showshortname}}
                 </div>
-                <a href="{{viewurl}}" class="coursename mr-2 text-truncate">
+                <a href="{{viewurl}}" class="coursename mr-2">
                     {{> core_course/favouriteicon }}
                     <span class="sr-only">
                             {{#str}}aria:coursename, core_course{{/str}}