mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 13:13:45 +01:00
Prevent browser translation of icons in Pug pages GitOrigin-RevId: 97e4d3ba70a4c95bed2c9f52e66038911625613d
12 lines
603 B
Plaintext
12 lines
603 B
Plaintext
mixin material-symbol(icon, extraClass = null)
|
|
- extraClass = extraClass ? ' ' + extraClass : ''
|
|
span(aria-hidden="true", translate="no", class="material-symbols" + extraClass)&attributes(attributes) #{icon}
|
|
|
|
mixin material-symbol-outlined(icon, extraClass = null)
|
|
- extraClass = extraClass ? ' ' + extraClass : ''
|
|
+material-symbol(icon, 'material-symbols-outlined' + extraClass)&attributes(attributes)
|
|
|
|
mixin material-symbol-rounded(icon, extraClass = null)
|
|
- extraClass = extraClass ? ' ' + extraClass : ''
|
|
+material-symbol(icon, 'material-symbols-rounded' + extraClass)&attributes(attributes)
|