summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAdam <[email protected]>2025-12-15 14:59:14 -0600
committerAdam <[email protected]>2025-12-15 14:59:24 -0600
commit66f3e698671d27e843229ede1074265042d6086f (patch)
tree14c94d23e60ce1dd36748941c609f1b16f2860b6
parentca599ab8fcaf3075989d522762374f66024fc26e (diff)
downloadopencode-66f3e698671d27e843229ede1074265042d6086f.tar.gz
opencode-66f3e698671d27e843229ede1074265042d6086f.zip
fix: landing page CLS hero jump down
-rw-r--r--packages/console/app/src/component/header.tsx4
-rw-r--r--packages/console/app/src/routes/index.css1
2 files changed, 3 insertions, 2 deletions
diff --git a/packages/console/app/src/component/header.tsx b/packages/console/app/src/component/header.tsx
index d9522bd5d..7bfcc7825 100644
--- a/packages/console/app/src/component/header.tsx
+++ b/packages/console/app/src/component/header.tsx
@@ -119,8 +119,8 @@ export function Header(props: { zen?: boolean; hideGetStarted?: boolean }) {
<section data-component="top">
<div onContextMenu={handleLogoContextMenu}>
<A href="/">
- <img data-slot="logo light" src={logoLight} alt="opencode logo light" />
- <img data-slot="logo dark" src={logoDark} alt="opencode logo dark" />
+ <img data-slot="logo light" src={logoLight} alt="opencode logo light" width="189" height="34" />
+ <img data-slot="logo dark" src={logoDark} alt="opencode logo dark" width="189" height="34" />
</A>
</div>
diff --git a/packages/console/app/src/routes/index.css b/packages/console/app/src/routes/index.css
index ae329b98b..f100acf8f 100644
--- a/packages/console/app/src/routes/index.css
+++ b/packages/console/app/src/routes/index.css
@@ -206,6 +206,7 @@ body {
[data-component="top"] {
padding: 24px var(--padding);
height: 80px;
+ min-height: 80px;
position: sticky;
top: 0;
display: flex;