mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2025-04-30 00:02:44 +00:00
feat(focus): only icon on small devices
This commit is contained in:
@ -83,7 +83,7 @@ const Focus = ({
|
|||||||
{focusMode !== 'webSearch' ? (
|
{focusMode !== 'webSearch' ? (
|
||||||
<div className="flex flex-row items-center space-x-1">
|
<div className="flex flex-row items-center space-x-1">
|
||||||
{focusModes.find((mode) => mode.key === focusMode)?.icon}
|
{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}
|
{focusModes.find((mode) => mode.key === focusMode)?.title}
|
||||||
</p>
|
</p>
|
||||||
<ChevronDown size={20} className="-translate-x-1" />
|
<ChevronDown size={20} className="-translate-x-1" />
|
||||||
@ -91,7 +91,7 @@ const Focus = ({
|
|||||||
) : (
|
) : (
|
||||||
<div className="flex flex-row items-center space-x-1">
|
<div className="flex flex-row items-center space-x-1">
|
||||||
<ScanEye size={20} />
|
<ScanEye size={20} />
|
||||||
<p className="text-xs font-medium">Focus</p>
|
<p className="text-xs font-medium hidden lg:block">Focus</p>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</PopoverButton>
|
</PopoverButton>
|
||||||
|
Reference in New Issue
Block a user