Skip to content

Commit

Permalink
line clamp names
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartlamour committed Dec 6, 2024
1 parent 67da820 commit b8a5865
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions templates/content.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
<div class="line-clamp-1 text-muted">
<small>{{coursename}}</small>
</div>
<a href="{{{url}}}" class="font-weight-bold">{{name}}</a>
<a href="{{{url}}}" class="font-weight-bold line-clamp-2">{{name}}</a>

{{#duedate}}
<div class="small">
{{#str}} t:due, block_my_feedback {{/str}} {{duedate}}
Expand All @@ -50,14 +51,14 @@
{{/requiremarking}}
</div>
{{/duedate}}
</div>
</div>

{{#date}}
<div class='text-right small'>
{{#tutorname}}{{.}} · {{/tutorname}} {{date}}
{{#date}}
<div class="small">
{{#tutorname}}{{.}} · {{/tutorname}} {{date}}
</div>
{{/date}}
</div>
</div>
{{/date}}
<hr>
{{/mods}}

Expand Down

0 comments on commit b8a5865

Please sign in to comment.