From 7791f15509e34ef0b4f82bb756fc2dae38fec43d Mon Sep 17 00:00:00 2001 From: Dillon Dumesnil Date: Wed, 17 Mar 2021 09:30:33 -0700 Subject: [PATCH] refactor: AA-692: Update location of is-hidden class when fa icon is used We ran into a bug where the is-hidden class was being overridden by the font awesome styling due to a late load of font awesome (causing the fa class to take precedence). This changes to instead wrap the icon in the span so there is no competing between the two classes on the same element --- lms/templates/seq_module.html | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/lms/templates/seq_module.html b/lms/templates/seq_module.html index 05123ab22f..29d79b1104 100644 --- a/lms/templates/seq_module.html +++ b/lms/templates/seq_module.html @@ -62,16 +62,20 @@ id="tab_${idx}"> % if 'complete' in item: - + + + % if item['complete']: ${_("Completed")} %endif % endif - + + +
${item['type']} ${item['page_title']} ${_("Bookmarked") if item['bookmarked'] else ""}