center the text

This commit is contained in:
Lee 2024-04-07 03:06:23 +01:00
parent 8db337204e
commit ac29beca3a
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="flex flex-col h-screen mt-5 items-center bg-neutral-900 text-white">
<body class="flex flex-col h-screen mt-5 items-center bg-neutral-900 text-white text-center">
<p class="font-bold text-red-600">Oh, no!</p>
<p>You have encountered an error.</p>

View File

@ -10,7 +10,7 @@
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="flex flex-col h-screen mt-5 items-center bg-neutral-900 text-white">
<body class="flex flex-col h-screen mt-5 items-center bg-neutral-900 text-white text-center">
<p class="font-bold">Hello!!!</p>
<p>Wrapper for the Minecraft APIs to make them easier to use.</p>