Skip to content

Commit

Permalink
Fix #77 - apply text wrap class to mobile view buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
lskinnercatalyst authored and danmarsden committed Jan 19, 2024
1 parent e13db67 commit 3a8998e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/mobile_view_ionic3.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@

<%# refcourse %>
<ion-item>
<button ion-button core-link capture="true" href="<% refcourse.url %>">
<button ion-button core-link class="ion-text-wrap" capture="true" href="<% refcourse.url %>">
{{ 'plugin.mod_subcourse.gotorefcourse' | translate: {$a: '<% refcourse.fullname %>'} }}
</button>
</ion-item>
Expand Down
2 changes: 1 addition & 1 deletion templates/mobile_view_latest.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
<%/ hasgrade %>

<%# refcourse %>
<ion-button expand="block" class="ion-margin" core-link capture="true" href="<% refcourse.url %>">
<ion-button expand="block" class="ion-margin ion-text-wrap" core-link capture="true" href="<% refcourse.url %>">
{{ 'plugin.mod_subcourse.gotorefcourse' | translate: {$a: '<% refcourse.fullname %>'} }}
</ion-button>
<%/ refcourse %>
Expand Down

0 comments on commit 3a8998e

Please sign in to comment.