mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-02 18:57:02 +08:00
test(e2e): force roboto font on all systems (#15993)
This commit is contained in:
@ -1,15 +0,0 @@
|
||||
{
|
||||
const getStyles = () => {
|
||||
const tag = document.createElement('style');
|
||||
tag.textContent = `
|
||||
:root {
|
||||
--ion-font-family: Arial;
|
||||
}
|
||||
`;
|
||||
return tag;
|
||||
};
|
||||
|
||||
if (window.location.search.indexOf('ionic:_testing=true') > -1) {
|
||||
document.head.appendChild(getStyles());
|
||||
}
|
||||
}
|
||||
11
core/scripts/testing/styles.css
Normal file
11
core/scripts/testing/styles.css
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user