Skip to content

Commit

Permalink
fix width of modal
Browse files Browse the repository at this point in the history
  • Loading branch information
joseplayero committed Jul 11, 2024
1 parent cbe9280 commit 7d459e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,14 @@ const NewEmbeddingModelModalBothTypes: React.FC<
</p>
<div className="flex">
<Button
className="bg-orange-700 border-none h-8 hover:bg-orange-900 cursor-pointer w-[180px] text-center pt-0 pb-0 pr-2 pl-2 mt-1 mr-2"
className="bg-blue-400 border-none h-8 hover:bg-blue-500 cursor-pointer w-[180px] text-center pt-0 pb-0 pr-2 pl-2 mt-1 mr-2"
onClick={handleModelDirectorySelection}
placeholder=""
>
Attach Local Model
</Button>
<Button
className="bg-orange-700 border-none h-8 hover:bg-orange-900 cursor-pointer w-[180px] text-center pt-0 pb-0 pr-2 pl-2 mt-1"
className="bg-blue-400 border-none h-8 hover:bg-blue-500 cursor-pointer w-[180px] text-center pt-0 pb-0 pr-2 pl-2 mt-1"
onClick={() => {
setIsRepoModalOpen(true);
}}
Expand All @@ -100,7 +100,7 @@ const NewEmbeddingModelModalBothTypes: React.FC<
embedding model. Check out{" "}
<ExternalLink href="https://www.reorproject.org/docs/documentation/embedding">
this guide
</ExternalLink>
</ExternalLink>{" "}
for more info.{" "}
</p>

Expand Down
2 changes: 1 addition & 1 deletion src/components/Settings/LLMSettings/LLMSettingsContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const LLMSettingsContent: React.FC<LLMSettingsContentProps> = ({
];

return (
<div>
<div className="w-[500px] p-5">
<h2 className="font-semibold mb-4 text-white">LLM</h2>
{llmConfigs.length > 0 && (
<div className="flex justify-between items-center w-full gap-5 border-b-2 border-solid border-neutral-700 border-0 pb-2">
Expand Down

0 comments on commit 7d459e2

Please sign in to comment.