The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix(studio): improve readability of logs refresh badge (#45582)
Jordi Enric863d7af4c268
diff --git a/apps/studio/components/interfaces/Settings/Logs/PreviewFilterPanel.tsx b/apps/studio/components/interfaces/Settings/Logs/PreviewFilterPanel.tsxindex d3134b5a279..f955d82df01 100644--- a/apps/studio/components/interfaces/Settings/Logs/PreviewFilterPanel.tsx+++ b/apps/studio/components/interfaces/Settings/Logs/PreviewFilterPanel.tsx@@ -174,14 +174,11 @@ const PreviewFilterPanel = ({icon={<div className="relative">{newCount > 0 && (- <div className="absolute -top-3 right-3 flex items-center justify-center">- <div className="absolute z-20">- <p style={{ fontSize: '0.6rem' }} className="text-white">- {newCount > 1000 ? `${Math.floor(newCount / 100) / 10}K` : newCount}- </p>+ <div className="absolute -top-3 -right-3 flex items-center justify-center">+ <div className="absolute h-4 w-4 animate-ping rounded-full bg-brand opacity-60"></div>+ <div className="relative z-10 flex h-4 min-w-4 items-center justify-center rounded-full bg-brand-500 px-1 text-[10px] font-medium leading-none text-white">+ {newCount > 1000 ? `${Math.floor(newCount / 100) / 10}K` : newCount}</div>- <div className="h-4 w-4 animate-ping rounded-full bg-green-800 opacity-60"></div>- <div className="z-60 absolute top-0 right-0 h-full w-full rounded-full bg-green-900 opacity-80"></div></div>)}<RefreshCw />diff --git a/apps/studio/components/interfaces/Settings/Logs/PreviewFilterPanelWithUniversal.tsx b/apps/studio/components/interfaces/Settings/Logs/PreviewFilterPanelWithUniversal.tsxindex 834606ba9c3..84b4b6ebd49 100644--- a/apps/studio/components/interfaces/Settings/Logs/PreviewFilterPanelWithUniversal.tsx+++ b/apps/studio/components/interfaces/Settings/Logs/PreviewFilterPanelWithUniversal.tsx@@ -292,14 +292,11 @@ export const PreviewFilterPanelWithUniversal = ({icon={<div className="relative">{newCount > 0 && (- <div className="absolute -top-3 right-3 flex items-center justify-center">- <div className="absolute z-20">- <p style={{ fontSize: '0.6rem' }} className="text-white">- {newCount > 1000 ? `${Math.floor(newCount / 100) / 10}K` : newCount}- </p>+ <div className="absolute -top-3 -right-3 flex items-center justify-center">+ <div className="absolute h-4 w-4 animate-ping rounded-full bg-brand opacity-60"></div>+ <div className="relative z-10 flex h-4 min-w-4 items-center justify-center rounded-full bg-brand-500 px-1 text-[10px] font-medium leading-none text-white">+ {newCount > 1000 ? `${Math.floor(newCount / 100) / 10}K` : newCount}</div>- <div className="h-4 w-4 animate-ping rounded-full bg-green-800 opacity-60"></div>- <div className="z-60 absolute top-0 right-0 h-full w-full rounded-full bg-green-900 opacity-80"></div></div>)}<RefreshCw />