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:
NamH 2023-10-23 08:59:06 -07:00 committed by GitHub
parent c1a11d846c
commit ec723ba0cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -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}

View File

@ -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`}