From 55d992b507729245e39339d40ad90b596781be00 Mon Sep 17 00:00:00 2001 From: karthick-murugan Date: Fri, 6 Dec 2024 14:35:33 +0530 Subject: [PATCH] Fix the search box fullwidth issue in modal --- .../src/input-control/styles/input-control-styles.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/components/src/input-control/styles/input-control-styles.tsx b/packages/components/src/input-control/styles/input-control-styles.tsx index 39eea8fdb029a1..85924e4d40d985 100644 --- a/packages/components/src/input-control/styles/input-control-styles.tsx +++ b/packages/components/src/input-control/styles/input-control-styles.tsx @@ -131,6 +131,11 @@ export const Container = styled.div< ContainerProps >` ${ containerDisabledStyles } ${ containerWidthStyles } + + .block-library-template-part__selection-search &, + .block-library-query-pattern__selection-search & { + width: 20%; + } `; type InputProps = {