Skip to content

Commit 451b600

Browse files
committed
MDL-84694 theme: Replace legacy BS4 references in activities overview
1 parent 688478c commit 451b600

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

course/format/templates/local/overview/activityname.mustache

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
{{sectiontitle}}
3838
</div>
3939
{{/sectiontitle}}
40-
<div class="ml-2">
40+
<div class="ms-2">
4141
{{#hidden}}
4242
<span class="badge rounded-pill text-bg-secondary fw-normal">
4343
{{#pix}}i/show, core{{/pix}}

lib/templates/local/collapsable_section.mustache

+2-2
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
>
8585
<span class="dir-rtl-hide">{{#pix}} t/collapsedchevron, core {{/pix}}</span>
8686
<span class="dir-ltr-hide">{{#pix}} t/collapsedchevron_rtl, core {{/pix}}</span>
87-
<span class="sr-only">{{!
87+
<span class="visually-hidden">{{!
8888
}}{{$ expandlabel }}{{!
8989
}}{{#expandlabel}}{{expandlabel}}{{/expandlabel}}{{!
9090
}}{{^expandlabel}}{{#str}} expand, core {{/str}}{{/expandlabel}}{{!
@@ -101,7 +101,7 @@
101101
}}"
102102
>
103103
{{#pix}} t/expandedchevron, core {{/pix}}
104-
<span class="sr-only">{{!
104+
<span class="visually-hidden">{{!
105105
}}{{$ collapselabel }}{{!
106106
}}{{#collapselabel}}{{collapselabel}}{{/collapselabel}}{{!
107107
}}{{^collapselabel}}{{#str}} collapse, core {{/str}}{{/collapselabel}}{{!

0 commit comments

Comments
 (0)