From bc2a6ef892cf7714f440b5a32452dbae6463c27e Mon Sep 17 00:00:00 2001 From: quanho Date: Sat, 11 Mar 2023 09:36:55 +0100 Subject: [PATCH] refactor: refactor --- apis/nucleus/src/components/listbox/ListBoxInline.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apis/nucleus/src/components/listbox/ListBoxInline.jsx b/apis/nucleus/src/components/listbox/ListBoxInline.jsx index 5cfb743a7..2e2ec0d8d 100644 --- a/apis/nucleus/src/components/listbox/ListBoxInline.jsx +++ b/apis/nucleus/src/components/listbox/ListBoxInline.jsx @@ -185,6 +185,7 @@ function ListBoxInline({ options, layout }) { const searchHeight = dense ? 27 : 40; const extraheight = dense ? 39 : 49; const minHeight = 49 + (searchVisible ? searchHeight : 0) + extraheight; + const headerHeight = 32; const { wildCardSearch, searchEnabled } = layout; const onShowSearch = () => { @@ -209,7 +210,7 @@ function ListBoxInline({ options, layout }) { > {toolbar && ( - + {isLocked ? (