MDL-79347 course_format: Fix focus outline for Edit conditions link

Use `btn btn-sm` classes to provide a default focus outline for the
Edit conditions link.
This commit is contained in:
Jun Pataleta 2023-09-15 15:05:13 +08:00
parent 9b2c445143
commit bb4bcf6165
No known key found for this signature in database
GPG Key ID: F83510526D99E2C7

View File

@ -111,7 +111,7 @@
{{#editing}}
{{#editurl}}
<div class="editcompletion border-top mt-3 pt-3">
<a href="{{editurl}}" class="px-2 py-1">
<a href="{{editurl}}" class="btn btn-sm px-2 py-0">
{{#hasconditions}}{{#pix}} i/edit, core {{/pix}}{{#str}}editconditions, completion{{/str}}{{/hasconditions}}
{{^hasconditions}}{{#pix}} t/add, core {{/pix}}{{#str}}addconditions, completion{{/str}}{{/hasconditions}}
</a>