Center all text in downloads menu
This commit is contained in:
@@ -641,7 +641,7 @@ export default function RootLayout ({
|
|||||||
key={i}
|
key={i}
|
||||||
className='popup-entry flex flex-col justify-between'
|
className='popup-entry flex flex-col justify-between'
|
||||||
>
|
>
|
||||||
<p className='text-2xl'>
|
<p className='text-2xl text-center'>
|
||||||
{
|
{
|
||||||
getVersionGame(
|
getVersionGame(
|
||||||
getVersionInfo(v.version)?.game
|
getVersionInfo(v.version)?.game
|
||||||
@@ -653,7 +653,7 @@ export default function RootLayout ({
|
|||||||
{v.failed ? (
|
{v.failed ? (
|
||||||
<>
|
<>
|
||||||
<div className='flex items-center'>
|
<div className='flex items-center'>
|
||||||
<span className='text-red-500'>
|
<span className='text-red-500 inline-block w-full text-center'>
|
||||||
Download failed
|
Download failed
|
||||||
</span>
|
</span>
|
||||||
<button
|
<button
|
||||||
@@ -671,19 +671,19 @@ export default function RootLayout ({
|
|||||||
</div>
|
</div>
|
||||||
</>
|
</>
|
||||||
) : v.queued ? (
|
) : v.queued ? (
|
||||||
<span className='text-yellow-500'>
|
<span className='text-yellow-500 inline-block w-full text-center'>
|
||||||
Queued…
|
Queued…
|
||||||
</span>
|
</span>
|
||||||
) : v.queued ? (
|
) : v.queued ? (
|
||||||
<span className='text-yellow-500'>
|
<span className='text-yellow-500 inline-block w-full text-center'>
|
||||||
Queued…
|
Queued…
|
||||||
</span>
|
</span>
|
||||||
) : v.hash_checking ? (
|
) : v.hash_checking ? (
|
||||||
<span className='text-blue-500'>
|
<span className='text-blue-500 inline-block w-full text-center'>
|
||||||
Checking hash...
|
Checking hash...
|
||||||
</span>
|
</span>
|
||||||
) : v.finishing ? (
|
) : v.finishing ? (
|
||||||
<span className='text-green-500'>
|
<span className='text-green-500 inline-block w-full text-center'>
|
||||||
Finishing...
|
Finishing...
|
||||||
</span>
|
</span>
|
||||||
) : (
|
) : (
|
||||||
|
|||||||
Reference in New Issue
Block a user