MOBILE-4270 icon: Fix some broken icons names
parent
15faf46367
commit
f2997313b4
|
@ -280,7 +280,7 @@ export class CoreFormatTextDirective implements OnChanges, OnDestroy, AsyncDirec
|
||||||
button.setAttribute('aria-label', label);
|
button.setAttribute('aria-label', label);
|
||||||
// Add an ion-icon item to apply the right styles, but the ion-icon component won't be executed.
|
// Add an ion-icon item to apply the right styles, but the ion-icon component won't be executed.
|
||||||
button.innerHTML = '<ion-icon name="fas-up-right-and-down-left-from-center" aria-hidden="true" \
|
button.innerHTML = '<ion-icon name="fas-up-right-and-down-left-from-center" aria-hidden="true" \
|
||||||
src="assets/fonts/font-awesome/solid/expand-alt.svg">\
|
src="assets/fonts/font-awesome/solid/up-right-and-down-left-from-center.svg">\
|
||||||
</ion-icon>';
|
</ion-icon>';
|
||||||
|
|
||||||
button.addEventListener('click', (e: Event) => {
|
button.addEventListener('click', (e: Event) => {
|
||||||
|
|
|
@ -806,7 +806,7 @@ export class CoreQuestionHelperProvider {
|
||||||
newIcon.className = 'core-correct-icon ion-color ion-color-success questioncorrectnessicon';
|
newIcon.className = 'core-correct-icon ion-color ion-color-success questioncorrectnessicon';
|
||||||
} else {
|
} else {
|
||||||
newIcon.setAttribute('name', 'fas-xmark');
|
newIcon.setAttribute('name', 'fas-xmark');
|
||||||
newIcon.setAttribute('src', 'assets/fonts/font-awesome/solid/times.svg');
|
newIcon.setAttribute('src', 'assets/fonts/font-awesome/solid/xmark.svg');
|
||||||
newIcon.className = 'core-correct-icon ion-color ion-color-danger questioncorrectnessicon';
|
newIcon.className = 'core-correct-icon ion-color ion-color-danger questioncorrectnessicon';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -451,8 +451,8 @@ div.core-iframe-network-error {
|
||||||
width: 50%;
|
width: 50%;
|
||||||
height: 50%;
|
height: 50%;
|
||||||
background-color: var(--danger);
|
background-color: var(--danger);
|
||||||
-webkit-mask: url("/assets/fonts/font-awesome/solid/exclamation-triangle.svg") no-repeat 50% 50%;
|
-webkit-mask: url("/assets/fonts/font-awesome/solid/triangle-exclamation.svg") no-repeat 50% 50%;
|
||||||
mask: url("/assets/fonts/font-awesome/solid/exclamation-triangle.svg") no-repeat 50% 50%;
|
mask: url("/assets/fonts/font-awesome/solid/triangle-exclamation.svg") no-repeat 50% 50%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue