Commit 5cb3032
committed
Fix icons in the main menu
MDL-82210 (Add support to Font Awesome families) changed the
core/pix_icon template and removed the ‘fa’ class from the <i> element
in order to support different Font Awesome families. This class is
instead added via \core\output\icon_system_fontawesome::add_family in
\core\output\icon_system_fontawesome::get_icon_name_map when no family
is set. However, since this theme overrides this method, the ‘fa’
class was never added to the additional icons of this theme. We
therefore set the ‘fa-solid’ family for all our additional icons.1 parent a055e7b commit 5cb3032
1 file changed
+19
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
0 commit comments