From b07c378d04f5441ecea8b9718ddb0d494c0aa60e Mon Sep 17 00:00:00 2001 From: Danilo Woznica Date: Fri, 5 Aug 2022 11:39:11 +0100 Subject: [PATCH] fix(website): ui tweaks --- website/landing/components/Features/icons.tsx | 18 +++++++++--------- .../Hero/HeroDesktop/heroSandpackFiles.ts | 1 + .../components/Intro/Sections/Theme.tsx | 2 +- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/website/landing/components/Features/icons.tsx b/website/landing/components/Features/icons.tsx index 0466f9dca..b753e9478 100644 --- a/website/landing/components/Features/icons.tsx +++ b/website/landing/components/Features/icons.tsx @@ -26,17 +26,17 @@ export const ICONS = { ), export: ( - - + diff --git a/website/landing/components/Hero/HeroDesktop/heroSandpackFiles.ts b/website/landing/components/Hero/HeroDesktop/heroSandpackFiles.ts index 4db5d0836..6f551a385 100644 --- a/website/landing/components/Hero/HeroDesktop/heroSandpackFiles.ts +++ b/website/landing/components/Hero/HeroDesktop/heroSandpackFiles.ts @@ -87,6 +87,7 @@ const common = `import { styled } from './stitches.config'; const Stack = styled("div", { display: "flex", + lineHeight: 1, variants: { horizontal: { true: { diff --git a/website/landing/components/Intro/Sections/Theme.tsx b/website/landing/components/Intro/Sections/Theme.tsx index c23826a55..d05f4f287 100644 --- a/website/landing/components/Intro/Sections/Theme.tsx +++ b/website/landing/components/Intro/Sections/Theme.tsx @@ -26,7 +26,7 @@ import { } from "./common"; const AnimatePresenceTyped = AnimatePresence as any; -const themeOptions: SandpackPredefinedTheme[] = ["dark", "light", "auto"]; +const themeOptions: SandpackPredefinedTheme[] = ["dark", "light"]; export const ThemeExample: React.FC = () => { const { ref, inView } = useInView({ threshold: THRESHOLD_VIEW });