connection lost mobile

This commit is contained in:
saml33 2023-05-30 15:30:34 +10:00
parent 0fbe2c7871
commit e062212347
1 changed files with 3 additions and 3 deletions

View File

@ -82,7 +82,7 @@ const TopBar = () => {
query.token || query.market ? '' : 'pl-4 md:pl-6'
}`}
>
<div className="flex w-full items-center justify-between space-x-4">
<div className="flex w-full items-center justify-between md:space-x-4">
<span className="mb-0 flex items-center">
{query.token || query.market ? (
<button
@ -167,8 +167,8 @@ const TopBar = () => {
) : null}
</span>
{!isOnline ? (
<div className="absolute left-1/2 z-10 flex -translate-x-1/2 items-center rounded-full bg-th-down py-2 px-4">
<ExclamationTriangleIcon className="h-5 w-5 text-th-fgd-1" />
<div className="absolute top-3 left-1/2 z-10 flex h-10 w-max -translate-x-1/2 items-center rounded-full bg-th-down py-2 px-4 md:top-8">
<ExclamationTriangleIcon className="h-5 w-5 flex-shrink-0 text-th-fgd-1" />
<p className="ml-2 text-th-fgd-1">
Your connection appears to be offline
</p>