I centered a div
This commit is contained in:
parent
7909244e95
commit
0738579074
2 changed files with 6 additions and 3 deletions
|
|
@ -26,7 +26,7 @@ const { title } = Astro.props;
|
|||
<title>{title}</title>
|
||||
<ViewTransitions />
|
||||
</head>
|
||||
<body>
|
||||
<body class="h-full">
|
||||
<Header />
|
||||
<slot />
|
||||
<div
|
||||
|
|
|
|||
|
|
@ -10,6 +10,9 @@ export function getStaticPaths() {
|
|||
---
|
||||
|
||||
<Layout title="Welcome to Astro.">
|
||||
<p>The services</p>
|
||||
<p id="">Mobile Navvy</p>
|
||||
<div
|
||||
class="flex flex-wrap mt-16 justify-center content-center w-full fixed inset-0 h-[calc(100%-4rem)] z-0"
|
||||
>
|
||||
Centered
|
||||
</div>
|
||||
</Layout>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue