MDL-65661 block_myoverview: Truncate category name
authorPeter <peterrolanddias@gmail.com>
Wed, 22 May 2019 11:30:48 +0000 (19:30 +0800)
committerPeter <peterrolanddias@gmail.com>
Wed, 22 May 2019 11:30:48 +0000 (19:30 +0800)
blocks/myoverview/templates/view-cards.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}}