Skip to content

Commit

Permalink
Merge pull request #3058 from janhq/fix/dropdown-my-model
Browse files Browse the repository at this point in the history
fix: position dropdown on my model
  • Loading branch information
Van-QA authored Jun 20, 2024
2 parents 25d92c3 + de48c0d commit af92c1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/screens/Settings/MyModels/MyModelList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ const MyModelList = ({ model }: Props) => {
{toGibibytes(model.metadata.size)}
</Badge>

<div className="flex items-center gap-x-4">
<div className="relative flex items-center gap-x-4">
{stateModel.loading && stateModel.model?.id === model.id ? (
<Badge
className="inline-flex items-center space-x-2"
Expand Down Expand Up @@ -144,7 +144,7 @@ const MyModelList = ({ model }: Props) => {
</Button>
{more && (
<div
className="absolute right-4 top-10 z-20 w-52 overflow-hidden rounded-lg border border-[hsla(var(--app-border))] bg-[hsla(var(--app-bg))] shadow-lg"
className="absolute right-8 top-0 z-20 w-52 overflow-hidden rounded-lg border border-[hsla(var(--app-border))] bg-[hsla(var(--app-bg))] shadow-lg"
ref={setMenu}
>
<Tooltip
Expand Down

0 comments on commit af92c1d

Please sign in to comment.