From 5b0f275f57196c58571c6a8a9b4792ea84cde542 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Fri, 17 Feb 2023 20:48:15 +0800 Subject: [PATCH] Temporary placeholder for custom-media --- src/index.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/index.css b/src/index.css index aae8ed13..48e6f767 100644 --- a/src/index.css +++ b/src/index.css @@ -1,3 +1,6 @@ +/* Can't use this yet because custom-media doesn't propagate to other CSS files yet, in Vite */ +@custom-media --viewport-medium (min-width: 40em); + :root { --main-width: 40em; text-size-adjust: none;