Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

improve annoucement nav layout on mobile

Florian LEFEBVRE9620f348b438
diff --git a/www/components/Nav/Annoucement.tsx b/www/components/Nav/Annoucement.tsx
index 11fe3ac0507..3df502d2d27 100644
--- a/www/components/Nav/Annoucement.tsx
+++ b/www/components/Nav/Annoucement.tsx
@@ -18,7 +18,7 @@ const Annoucement = () => {
if (!a.show) return (null)
return (
<div className="bg-brand-700 dark:bg-brand-800">
- <div className="flex flex-col items-center justify-center py-2 mx-auto space-x-2 text-white sm:flex-row lg:container lg:px-16 xl:px-20">
+ <div className="flex items-center justify-center py-2 mx-auto space-x-2 text-white lg:container lg:px-16 xl:px-20 text-sm md:text-base">
<span>{a.text}</span>
<a
href={a.link.url}
diff --git a/www/data/Annoucement.json b/www/data/Annoucement.json
index f50af748756..4c69d90eddf 100644
--- a/www/data/Annoucement.json
+++ b/www/data/Annoucement.json
@@ -3,6 +3,6 @@
"text": "We have released the April recap!",
"link": {
"url": "https://supabase.io/blog/2021/05/03/supabase-beta-april-2021",
- "text": "Read the blog post"
+ "text": "Read more"
}
}