Change Scale

This commit is contained in:
Thanakarn Klangkasame
2025-10-09 17:49:15 +07:00
parent 93bb21ffc1
commit a20c986d5d

View File

@@ -1,11 +1,11 @@
import "./globals.css"; import "./globals.css";
import type { Metadata, Viewport } from "next"; import type {Metadata, Viewport} from "next";
import { Geist, Geist_Mono } from "next/font/google"; import {Geist, Geist_Mono} from "next/font/google";
import "./globals.css"; import "./globals.css";
import React from "react"; import React from "react";
const geistSans = Geist({ subsets: ["latin"], variable: "--font-geist-sans" }); const geistSans = Geist({subsets: ["latin"], variable: "--font-geist-sans"});
const geistMono = Geist_Mono({ subsets: ["latin"], variable: "--font-geist-mono" }); const geistMono = Geist_Mono({subsets: ["latin"], variable: "--font-geist-mono"});
export const metadata: Metadata = { export const metadata: Metadata = {
title: "Enterprise Orchestration Platform", title: "Enterprise Orchestration Platform",
@@ -18,10 +18,9 @@ export const viewport: Viewport = {
viewportFit: "cover", viewportFit: "cover",
}; };
export default function RootLayout({ children }: { children: React.ReactNode }) { export default function RootLayout({children}: { children: React.ReactNode }) {
return ( return (
<html lang="en" className="h-full"> <html lang="en" className="h-full text-[75%]">
{/* ใช้ className ของฟอนต์จริง ไม่ใช่แค่วางเป็น variable */}
<body className={`${geistSans.className} ${geistMono.variable} antialiased min-h-dvh overflow-x-hidden`}> <body className={`${geistSans.className} ${geistMono.variable} antialiased min-h-dvh overflow-x-hidden`}>
{children} {children}
</body> </body>