fix: scroll on explore models does not work (#427)
Signed-off-by: James <james@jan.ai> Co-authored-by: James <james@jan.ai>
This commit is contained in:
parent
c1a11d846c
commit
ec723ba0cc
@ -3,7 +3,7 @@ import ExploreModelList from '../ExploreModelList'
|
|||||||
import ExploreModelFilter from '../ExploreModelFilter'
|
import ExploreModelFilter from '../ExploreModelFilter'
|
||||||
|
|
||||||
const ExploreModelContainer: React.FC = () => (
|
const ExploreModelContainer: React.FC = () => (
|
||||||
<div className="flex flex-1 flex-col overflow-hidden px-16 pt-14">
|
<div className="flex h-full w-full flex-1 flex-col px-16 pt-14">
|
||||||
<HeaderTitle title="Explore Models" />
|
<HeaderTitle title="Explore Models" />
|
||||||
{/* <SearchBar
|
{/* <SearchBar
|
||||||
type={SearchType.Model}
|
type={SearchType.Model}
|
||||||
|
|||||||
@ -72,10 +72,12 @@ const LeftRibbonNav: React.FC = () => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<nav className="flex h-screen w-20 flex-col bg-gray-900">
|
<nav className="flex h-screen w-20 flex-col bg-gray-900">
|
||||||
|
<div className='mx-auto mt-4'>
|
||||||
<CompactLogo />
|
<CompactLogo />
|
||||||
|
</div>
|
||||||
|
|
||||||
<div className="flex w-full flex-1 flex-col items-center justify-between px-3 py-6">
|
<div className="flex w-full flex-1 flex-col items-center justify-between px-3 py-6">
|
||||||
<div>
|
<div className="flex flex-1 flex-col gap-2">
|
||||||
<button
|
<button
|
||||||
onClick={onConversationClick}
|
onClick={onConversationClick}
|
||||||
className={`rounded-lg p-4 ${bgColor} hover:bg-gray-400`}
|
className={`rounded-lg p-4 ${bgColor} hover:bg-gray-400`}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user