Skip to content

Commit

Permalink
fix(ui): correct the navigation of Answer Engine (#2979)
Browse files Browse the repository at this point in the history
* fix(ui): correct the navigation of Answer Engine

* update

* update
  • Loading branch information
liangfung authored Aug 26, 2024
1 parent b50a80f commit 0902259
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ee/tabby-ui/app/(home)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ function MainPanel() {
: { height: '100vh' }
return (
<div className="transition-all" style={style}>
<header className="flex h-16 items-center justify-end px-4">
<header className="flex h-16 items-center justify-end px-4 lg:px-10">
<div className="flex items-center gap-x-6">
<ClientOnly>
<ThemeToggle />
Expand Down
5 changes: 3 additions & 2 deletions ee/tabby-ui/app/search/components/search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,8 @@ export function Search() {
pathname: `/search/${slugWithThreadId}`,
searchParams: {
del: ['q']
}
},
replace: true
})
}

Expand Down Expand Up @@ -1186,7 +1187,7 @@ function Header({ threadId }: { threadId?: string }) {
}

return (
<header className="flex h-16 items-center justify-between px-4">
<header className="flex h-16 items-center justify-between px-4 lg:px-10">
<div className="flex items-center gap-x-6">
<Button
variant="ghost"
Expand Down

0 comments on commit 0902259

Please sign in to comment.