Skip to content

Commit

Permalink
fix(ui): correct homepage header style in demo mode
Browse files Browse the repository at this point in the history
  • Loading branch information
liangfung authored Oct 29, 2024
1 parent cc0196d commit a18e217
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ee/tabby-ui/app/(home)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,12 @@ function MainPanel() {

return (
<ScrollArea style={style} ref={scroller}>
<header className="fixed right-0 top-0 z-10 flex h-16 items-center justify-end px-4 lg:px-10">
<header
className="fixed right-0 z-10 flex h-16 items-center justify-end px-4 transition-all lg:px-10"
style={{
top: isShowDemoBanner ? BANNER_HEIGHT : 0
}}
>
<div className="flex items-center gap-x-6">
<ClientOnly>
<ThemeToggle />
Expand Down

0 comments on commit a18e217

Please sign in to comment.