From 91950cbbfa663846675a8a8cffc0020fac193bf1 Mon Sep 17 00:00:00 2001 From: Fredrik Jonsson Date: Sun, 24 Nov 2024 19:27:45 +0100 Subject: [PATCH] Move interpolate-size to :root. --- assets/sass/_reset.scss | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/assets/sass/_reset.scss b/assets/sass/_reset.scss index 15dbd2b..f7649f2 100644 --- a/assets/sass/_reset.scss +++ b/assets/sass/_reset.scss @@ -10,6 +10,11 @@ box-sizing: border-box; } +:root { + // Activate transition to intrinsic sizes like auto and fit-content. + interpolate-size: allow-keywords; +} + html { // Prevent adjustments of font size. -webkit-text-size-adjust: none; @@ -17,8 +22,6 @@ html { // Improve text rendering. -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; - // Activate transition to intrinsic sizes like auto and fit-content. - interpolate-size: allow-keywords; } // Sections