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