From 8da81f602fb868d819f8b1e86992772b18c0e371 Mon Sep 17 00:00:00 2001 From: Alexey Vasyukov <vasyukov.alexey.v@gmail.com> Date: Tue, 6 Dec 2022 12:01:15 +0300 Subject: [PATCH] fix(#28): collection tree search input placeholder --- src/app/components/menu/menu.tsx | 3 ++- src/app/pages/side-bar/collections-tree.tsx | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/components/menu/menu.tsx b/src/app/components/menu/menu.tsx index 0a906f8..2f8a566 100644 --- a/src/app/components/menu/menu.tsx +++ b/src/app/components/menu/menu.tsx @@ -33,7 +33,8 @@ const SubMenu = styled('div', { width: 0, }, false: { - width: 250, + maxWidth: 250, + minWidth: 250, }, }, }, diff --git a/src/app/pages/side-bar/collections-tree.tsx b/src/app/pages/side-bar/collections-tree.tsx index 07e7ae7..7591e73 100644 --- a/src/app/pages/side-bar/collections-tree.tsx +++ b/src/app/pages/side-bar/collections-tree.tsx @@ -29,7 +29,7 @@ export const CollectionsTree = (): JSX.Element => { bordered borderWeight="light" fullWidth - placeholder="Search..." + placeholder="Find collection, service or method" clearable size="sm" css={{