Skip to content

Commit

Permalink
safari browser fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aziz0x00 committed Aug 28, 2024
1 parent 289a0ff commit d12711b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/paper-custom/layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
{{ partial "head.html" . }}
<body class="text-[#1f1f1f] duration-200 ease-out dark:text-white invisible">
<script>
document.fonts.onloadingdone = () => document.body.classList.remove('invisible'); // a hack to make sure fonts are applied
document.fonts.ready.then(() => { document.body.classList.remove('invisible'); }) // a hack to make sure fonts are applied
</script>
{{ partial "header.html" . }}

Expand Down

0 comments on commit d12711b

Please sign in to comment.