Skip to content

Commit

Permalink
feat(focus): only icon on small devices
Browse files Browse the repository at this point in the history
  • Loading branch information
ItzCrazyKns committed Nov 30, 2024
1 parent e4a0799 commit e08d864
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/components/MessageInputActions/Focus.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,15 @@ const Focus = ({
{focusMode !== 'webSearch' ? (
<div className="flex flex-row items-center space-x-1">
{focusModes.find((mode) => mode.key === focusMode)?.icon}
<p className="text-xs font-medium">
<p className="text-xs font-medium hidden lg:block">
{focusModes.find((mode) => mode.key === focusMode)?.title}
</p>
<ChevronDown size={20} className="-translate-x-1" />
</div>
) : (
<div className="flex flex-row items-center space-x-1">
<ScanEye size={20} />
<p className="text-xs font-medium">Focus</p>
<p className="text-xs font-medium hidden lg:block">Focus</p>
</div>
)}
</PopoverButton>
Expand Down

0 comments on commit e08d864

Please sign in to comment.