Skip to content

Commit e08d864

Browse files
committed
feat(focus): only icon on small devices
1 parent e4a0799 commit e08d864

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/components/MessageInputActions/Focus.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,15 +83,15 @@ const Focus = ({
8383
{focusMode !== 'webSearch' ? (
8484
<div className="flex flex-row items-center space-x-1">
8585
{focusModes.find((mode) => mode.key === focusMode)?.icon}
86-
<p className="text-xs font-medium">
86+
<p className="text-xs font-medium hidden lg:block">
8787
{focusModes.find((mode) => mode.key === focusMode)?.title}
8888
</p>
8989
<ChevronDown size={20} className="-translate-x-1" />
9090
</div>
9191
) : (
9292
<div className="flex flex-row items-center space-x-1">
9393
<ScanEye size={20} />
94-
<p className="text-xs font-medium">Focus</p>
94+
<p className="text-xs font-medium hidden lg:block">Focus</p>
9595
</div>
9696
)}
9797
</PopoverButton>

0 commit comments

Comments
 (0)