Change Scale
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user