Skip to content

Commit

Permalink
Merge pull request #5529 from varuntangirala/BACKLOG-37991
Browse files Browse the repository at this point in the history
[BACKLOG-37991] WCAG - Manage Data souces dialog on Safari - bad ui format
  • Loading branch information
rmansoor committed Feb 13, 2024
2 parents 665c530 + 45b1706 commit f1e2c14
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion assemblies/pentaho-war/src/main/webapp/js/themeResources.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ function customizeThemeStyling() {
if (version <= 11) {
document.getElementsByTagName("body")[0].className += className;
}
} else {
const isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
if (isSafari) {
document.documentElement.classList.add("safari");
}
}

}

0 comments on commit f1e2c14

Please sign in to comment.