From 7335480df234fbc2be88bed40e6fdb03a2ab9ca8 Mon Sep 17 00:00:00 2001 From: Naman Goel Date: Sat, 9 Dec 2023 23:34:55 -0800 Subject: [PATCH] Fix: CSS layer order in Next.js app --- apps/nextjs-example/app/globals.css | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/apps/nextjs-example/app/globals.css b/apps/nextjs-example/app/globals.css index e825f4a6..ee92505d 100644 --- a/apps/nextjs-example/app/globals.css +++ b/apps/nextjs-example/app/globals.css @@ -5,8 +5,10 @@ * LICENSE file in the root directory of this source tree. */ -* { - box-sizing: border-box; - padding: 0; - margin: 0; +@layer reset { + * { + box-sizing: border-box; + padding: 0; + margin: 0; + } }