fix to style
This commit is contained in:
parent
462f951318
commit
03e91d766e
|
@ -1,12 +1,19 @@
|
|||
import type { Metadata } from 'next';
|
||||
import { Inter } from 'next/font/google';
|
||||
import '@styles/global.css';
|
||||
|
||||
const inter = Inter({ subsets: ['latin'] });
|
||||
|
||||
import type { Metadata } from "next";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'Calendrier de l\'avent',
|
||||
description: 'Calendrier de l\'avent de maths de la 3M03',
|
||||
};
|
||||
|
||||
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<head><title></title><meta name="viewport" content="viewport-fit=cover" /></head>
|
||||
<body className={inter.className}>{children}</body>
|
||||
</html>
|
||||
);
|
||||
|
|
|
@ -47,4 +47,23 @@
|
|||
--input: 0 0% 80%;
|
||||
--ring: 348 71% 60%;
|
||||
}
|
||||
|
||||
html {
|
||||
padding-top: env(safe-area-inset-top);
|
||||
padding-bottom: env(safe-area-inset-bottom);
|
||||
background-color: black;
|
||||
}
|
||||
|
||||
body {
|
||||
padding-top: env(safe-area-inset-top);
|
||||
padding-bottom: env(safe-area-inset-bottom);
|
||||
background-color: black;
|
||||
}
|
||||
|
||||
/* If using React, set height on the root div as well */
|
||||
#root {
|
||||
padding-top: env(safe-area-inset-top);
|
||||
padding-bottom: env(safe-area-inset-bottom);
|
||||
background-color: black;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue