mirror of
https://github.com/luxfi/lux-network.git
synced 2026-10-30 16:20:39 +00:00
The body carried `display: flex !important` from both a stylesheet rule and a MutationObserver that re-asserted it on every mutation. Both existed to undo a FOUC guard in the shared layout — a `<body style="display:none">` revealed by a mount effect — and that guard is gone. What was left pinned the body to a flex ROW, so the sections laid out side by side and the page scrolled 2,056px sideways at 1280px and 2,258px at 390px. The shared sheet gives the body one grid column, which is what it wanted all along. The build also had three companion faults: `@next/mdx` was still 14.2.16 against Next 16, so it wrote webpack rules and no Turbopack ones and every .mdx in @luxfi/data was an unknown module type; the webpack-only svgr loader had no Turbopack counterpart and guarded an import nothing makes any more; and the three pnpm patches were pinned to versions this no longer installs — the @luxfi/ui one edits a file that does not exist in the current release, and the @hanzo/commerce one is upstream at 7.7.1. Now: 35 pages, 6/6 page-widths with no sideways scroll.
8 lines
288 B
TypeScript
8 lines
288 B
TypeScript
/// <reference types="next" />
|
|
/// <reference types="next/image-types/global" />
|
|
import "./.next/types/routes.d.ts";
|
|
import "./.next/types/root-params.d.ts";
|
|
|
|
// NOTE: This file should not be edited
|
|
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
|