Skip to content

Commit

Permalink
fix: overlap text model selector and loading (#3756)
Browse files Browse the repository at this point in the history
  • Loading branch information
urmauur authored Oct 2, 2024
1 parent 2122adf commit 27c6ac6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/containers/Loader/ModelStart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default function ModelStart() {
style={{ width: `${loader}%` }}
data-testid="model-loader"
/>
<span className="relative z-10">
<span className="relative z-10 line-clamp-1 max-w-[300px]">
{stateModel.state === 'start' ? 'Starting' : 'Stopping'}
&nbsp;model&nbsp;
{stateModel.model?.id}
Expand Down
4 changes: 3 additions & 1 deletion web/containers/ModelDropdown/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,9 @@ const ModelDropdown = ({
)}
onClick={() => setOpen(!open)}
>
<span className="line-clamp-1 ">{selectedModel?.name}</span>
<span className="line-clamp-1 max-w-[286px]">
{selectedModel?.name}
</span>
</Badge>
) : (
<Input
Expand Down

0 comments on commit 27c6ac6

Please sign in to comment.