Skip to content

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

chore: fix minor styling

Isaiah Hamiltonebc2078e90a5
diff --git a/www/components/Carousels/ImageCarousel.tsx b/www/components/Carousels/ImageCarousel.tsx
index c77b471e934..288cf8b4f7d 100644
--- a/www/components/Carousels/ImageCarousel.tsx
+++ b/www/components/Carousels/ImageCarousel.tsx
@@ -169,7 +169,7 @@ function ImageCarousel(props: ImageCarouselProps) {
{props.content.map((content, i) => {
return (
<SwiperSlide key={i}>
- <div className="bg-white dark:bg-gray-800 p-px">
+ <div className="ml-1">
<h4>{content.title}</h4>
<p>
<p className="text-base">{content.text}</p>
@@ -180,7 +180,7 @@ function ImageCarousel(props: ImageCarouselProps) {
<a>
<Button
className="mb-8"
- type="outline"
+ type="default"
size="small"
icon={<IconArrowUpRight />}
>
diff --git a/www/components/Carousels/SplitCodeBlockCarousel.tsx b/www/components/Carousels/SplitCodeBlockCarousel.tsx
index cdbfe573d6a..134f0fa58c7 100644
--- a/www/components/Carousels/SplitCodeBlockCarousel.tsx
+++ b/www/components/Carousels/SplitCodeBlockCarousel.tsx
@@ -76,7 +76,7 @@ function SplitCodeBlockCarousel(props: SplitCodeBlockCarousel) {
)
})}
</Tabs>
- <div className="border border-gray-100 dark:border-gray-600 rounded-md bg-gray-800 overflow-hidden">
+ <div className="border border-gray-100 dark:border-gray-600 rounded-md bg-scale-300 overflow-hidden">
<Swiper
// @ts-ignore
onSwiper={setApiSwiper}
@@ -99,7 +99,7 @@ function SplitCodeBlockCarousel(props: SplitCodeBlockCarousel) {
})}
</Swiper>
- <div className="overflow-hidden bg-gray-800 p-8 dark rounded-md border border-t-none border-t-0 border-gray-600">
+ <div className="overflow-hidden p-8 bg-scale-300 rounded-md border border-t-none border-t-0 border-gray-600">
<Swiper
// @ts-ignore
onSwiper={setSwiperDetails}
@@ -117,7 +117,7 @@ function SplitCodeBlockCarousel(props: SplitCodeBlockCarousel) {
<SwiperSlide key={i}>
<div className="">
<p>
- <span className="block text-lg text-white mb-4">
+ <span className="block text-lg text-scale-1200 dark:text-white mb-4">
{extension.detail_title}
</span>
</p>
@@ -127,10 +127,8 @@ function SplitCodeBlockCarousel(props: SplitCodeBlockCarousel) {
<Space className="justify-between">
{extension.url && (
<Link href={extension.url} as={extension.url}>
- <a>
- <p>
- <Button type="outline">View documentation</Button>
- </p>
+ <a className="ml-px">
+ <Button as="a" type="default">View documentation</Button>
</a>
</Link>
)}
diff --git a/www/components/Sections/GithubExamples.tsx b/www/components/Sections/GithubExamples.tsx
index 2259d71b69e..a57f8bf355d 100644
--- a/www/components/Sections/GithubExamples.tsx
+++ b/www/components/Sections/GithubExamples.tsx
@@ -32,28 +32,24 @@ function GithubExamples() {
Supported by a network of early advocates, contributors, and champions.
</p>
</p>
- <div className="flex space-y-1.5 flex-col lg:space-y-0 lg:space-x-1.5 lg:flex-row justify-center">
+ <div className="flex items-center space-y-1.5 flex-col lg:space-y-0 lg:space-x-1.5 lg:flex-row justify-center">
<Link href="/docs/guides/examples#guides" as="/docs/guides/examples#guides">
- <a>
- <Button type="default" icon={<IconBookOpen />}>
- View guides
- </Button>
- </a>
+ <Button as="a" type="default" icon={<IconBookOpen />}>
+ View guides
+ </Button>
</Link>
<Link href="/docs/guides/examples" as="/docs/guides/examples">
- <a>
- <Button type="default">View all examples</Button>
- </a>
+ <Button as="a" type="default">
+ View all examples
+ </Button>
</Link>
<Link
href="https://github.com/supabase/supabase/tree/master/examples"
as="https://github.com/supabase/supabase/tree/master/examples"
>
- <a>
- <Button type="default" icon={<IconGitHub />}>
- Official GitHub library
- </Button>
- </a>
+ <Button as="a" type="default" icon={<IconGitHub />}>
+ Official GitHub library
+ </Button>
</Link>
</div>
</div>
diff --git a/www/pages/database/Database.tsx b/www/pages/database/Database.tsx
index b2874cefd50..8fbb5f19061 100644
--- a/www/pages/database/Database.tsx
+++ b/www/pages/database/Database.tsx
@@ -251,7 +251,7 @@ function Database() {
<p>
<p className="m-0">Libraries coming soon:</p>
</p>
- <div className="space-x-1 ml-1Easy to use dashboard">
+ <div className="space-x-1 ml-1">
<Badge dot={false}>Python</Badge>
<Badge dot={false}>Dart</Badge>
<Badge dot={false}>C#</Badge>