Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spacing fix #111

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions apps/baseai.dev/src/components/home/hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ const inter = Inter({ subsets: ['latin'] });

export default function Hero({ }) {
return (
<div className="flex h-full flex-col items-center justify-between relative mt-[74px] sm:mt-0">
<div className="h-full webgl absolute -top-[26vh] flex w-full sm:-top-16">
<div className="flex h-full flex-col items-center justify-center relative">
<div className="h-full webgl absolute -top-[20vh] flex w-full sm:-top-16">
<WebGLInitializer />
</div>
<Content />
Expand All @@ -23,7 +23,7 @@ export default function Hero({ }) {

function Content() {
return (
<div className="z-10 grid min-h-[80vh] w-[90vw] grid-rows-[auto_1fr_auto] gap-4 px-6 sm:p-6 sm:mt-[104px] sm:min-h-[85vh] sm:w-[76vw]">
<div className="z-10 grid min-h-[75vh] w-[90vw] grid-rows-[auto_1fr_auto] gap-4 pb-6 px-6 sm:p-6 mt-[74px] sm:mt-[104px] sm:min-h-[85vh] sm:w-[76vw]">
<div className="col-span-2 flex items-center justify-between">
<div className={cn('flex items-center', inter.className)}>
<div className="mr-4 hidden size-4 rounded-full bg-muted-foreground/70 sm:block"></div>
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.