Merge pull request #3058 from janhq/fix/dropdown-my-model
fix: position dropdown on my model
This commit is contained in:
commit
af92c1de72
@ -101,7 +101,7 @@ const MyModelList = ({ model }: Props) => {
|
|||||||
{toGibibytes(model.metadata.size)}
|
{toGibibytes(model.metadata.size)}
|
||||||
</Badge>
|
</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 ? (
|
{stateModel.loading && stateModel.model?.id === model.id ? (
|
||||||
<Badge
|
<Badge
|
||||||
className="inline-flex items-center space-x-2"
|
className="inline-flex items-center space-x-2"
|
||||||
@ -144,7 +144,7 @@ const MyModelList = ({ model }: Props) => {
|
|||||||
</Button>
|
</Button>
|
||||||
{more && (
|
{more && (
|
||||||
<div
|
<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}
|
ref={setMenu}
|
||||||
>
|
>
|
||||||
<Tooltip
|
<Tooltip
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user