mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-08 21:10:12 +02:00
Decrease width of hidden icon
This commit is contained in:
@@ -20,7 +20,7 @@ export const SearchInput = ({
|
|||||||
const mergedRef = useMergedRef<HTMLInputElement>(ref);
|
const mergedRef = useMergedRef<HTMLInputElement>(ref);
|
||||||
|
|
||||||
const isOpened = focused || ref.current?.value;
|
const isOpened = focused || ref.current?.value;
|
||||||
const showIcon = !isOpened || (openedWidth || 150) > 150;
|
const showIcon = !isOpened || (openedWidth || 100) > 100;
|
||||||
|
|
||||||
useHotkeys([
|
useHotkeys([
|
||||||
[
|
[
|
||||||
|
|||||||
Reference in New Issue
Block a user