Skip to content

Commit

Permalink
Set font to whole body
Browse files Browse the repository at this point in the history
  • Loading branch information
macedonga committed Oct 29, 2024
1 parent 369c1d4 commit 5e54c1a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/Layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ export default function Layout({ children, user }) {
}

if (window && window.navigator) {
document.body.classList.add(inter.className);

const android = !!navigator.userAgent.match(/Android/);
const isInstalled =
document.referrer.includes("android-app://" + PACKAGE_NAME) ||
Expand Down

0 comments on commit 5e54c1a

Please sign in to comment.