Skip to content

Commit

Permalink
fix(chat): add space after version prefix (Issue #2759) (#2817)
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyaBondar authored Dec 13, 2024
1 parent 20ee949 commit bdd1072
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions apps/chat/src/components/Chat/ModelVersionSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const VersionPrefix = () => {
const { t } = useTranslation(Translation.Chat);

return (
<div className="flex items-center gap-2">
<div className="mr-2 flex items-center">
<span className="hidden md:block">{t('Version: ')}</span>
<span className="md:hidden">{t('v. ')}</span>
</div>
Expand Down Expand Up @@ -52,7 +52,7 @@ export const ModelVersionSelect = ({
if (entities.length && entities[0].version) {
return (
<div
className={classNames('flex gap-2 truncate', className)}
className={classNames('flex truncate', className)}
data-qa="version"
>
{showVersionPrefix && <VersionPrefix />}
Expand Down
2 changes: 1 addition & 1 deletion apps/chat/src/components/Chat/TalkTo/TalkToCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ export const TalkToCard = ({
<ModelIcon entityId={entity.id} entity={entity} size={iconSize} />
)}
</div>
<div className="flex grow flex-col justify-center gap-2 overflow-hidden leading-4">
<div className="flex grow flex-col justify-center overflow-hidden leading-4">
{!!versionsToSelect.length && (
<div className="flex items-center">
<p className="mr-1 text-xs text-secondary">{t('Version')}: </p>
Expand Down

0 comments on commit bdd1072

Please sign in to comment.