1 export const initSafariFontFixClassnames = () => {
2 const userAgent = navigator.userAgent;
4 userAgent.indexOf('Safari') != -1 &&
5 userAgent.indexOf('Chrome') == -1 &&
6 (userAgent.match(/Version\/16\.[0123]/) || userAgent.match(/iPhone OS 16_[0123]/))
8 document.body.classList.add('isSafari16');