From 3e2c70dd51c75511165787b7287cf7570c3bf83d Mon Sep 17 00:00:00 2001 From: dmitriylaukhin Date: Fri, 26 Jun 2026 12:13:58 +0500 Subject: [PATCH] Fix global CSS wipe: inject head/body code via DOM, not MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Rendering in the App Router root layout let the manual overwrite the React-hoisted during hydration — all Tailwind styles dropped for real users once JS ran (headless snapshots taken before hydration looked fine). headCode held the Yandex.Metrika snippet. Replace with HtmlInjector client component that appends the code through the DOM post-hydration, recreating