feat(focus): only icon on small devices
This commit is contained in:
parent
e4a0799503
commit
e08d864445
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue