mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 02:13:33 +00:00
Decrease width of hidden icon
This commit is contained in:
parent
d2ab8b470d
commit
feb4839ccd
1 changed files with 1 additions and 1 deletions
|
|
@ -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([
|
||||||
[
|
[
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue