Skip to content

Commit

Permalink
--font-sizing: fixed; instead of --dont-resize
Browse files Browse the repository at this point in the history
  • Loading branch information
LeaVerou committed Feb 11, 2024
1 parent 13b1a1d commit 33f9798
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inspire.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ let _ = {

let cs = getComputedStyle(slide);

if (cs.getPropertyValue("--dont-resize") || cs.overflow === "hidden" || cs.overflow === "clip") {
if (cs.getPropertyValue("--dont-resize") || cs.getPropertyValue("--font-sizing")?.trim() === "fixed" || cs.overflow === "hidden" || cs.overflow === "clip") {
return;
}

Expand Down

0 comments on commit 33f9798

Please sign in to comment.