Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

Commit

Permalink
fix: responsive my model (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
urmauur authored Aug 12, 2024
1 parent e569ee2 commit da6deb2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/pages/models.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ const ModelsPage = () => {
<SelectTrigger className="w-[180px] placeholder:text-red-200 font-semibold">
<SelectValue placeholder="Select a Engine" />
</SelectTrigger>
<SelectContent>
<SelectContent className="dark:bg-neutral-900 bg-white">
<SelectItem className="font-semibold" value="gguf">
GGUF
</SelectItem>
Expand Down Expand Up @@ -171,9 +171,9 @@ const ModelsPage = () => {
return (
<div
key={model.id}
className="flex justify-between items-center py-4 border-b border-neutral-200 dark:border-neutral-700 last:border-none"
className="flex justify-between md:items-center py-4 border-b border-neutral-200 dark:border-neutral-700 last:border-none flex-col md:flex-row"
>
<div className="flex flex-col lg:flex-row lg:items-center gap-4">
<div className="flex flex-col md:flex-row gap-4">
<Link
to={`https://huggingface.co/${model.name}`}
target="_blank"
Expand All @@ -191,7 +191,7 @@ const ModelsPage = () => {
</div>

<div className="flex items-center gap-2">
<div className="bg-neutral-100 flex items-center py-1 h-10 px-4 rounded-lg font-medium dark:bg-neutral-800 text-black dark:text-white hover:no-underline !cursor-pointer w-[340px]">
<div className="bg-neutral-100 flex items-center py-1 h-10 px-4 rounded-lg font-medium dark:bg-neutral-800 text-black dark:text-white hover:no-underline !cursor-pointer w-full md:w-[340px]">
<code className="bg-transparent border-none text-left line-clamp-1">
{checkedItems.length > 0
? `cortex run ${model.name.replace(
Expand Down

0 comments on commit da6deb2

Please sign in to comment.