From 05537252e171cb14dd71a11f193883ad97a8380e Mon Sep 17 00:00:00 2001 From: Ankita Kinger Date: Tue, 3 Dec 2024 13:25:42 +0530 Subject: [PATCH 1/2] reverting the style changes that broke JS module instance toolbar --- .../JSEditor/JSEditorToolbar/components/old/JSFunctionRun.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/client/src/pages/Editor/JSEditor/JSEditorToolbar/components/old/JSFunctionRun.tsx b/app/client/src/pages/Editor/JSEditor/JSEditorToolbar/components/old/JSFunctionRun.tsx index b22a3fc4c930..35e5185f7fb7 100644 --- a/app/client/src/pages/Editor/JSEditor/JSEditorToolbar/components/old/JSFunctionRun.tsx +++ b/app/client/src/pages/Editor/JSEditor/JSEditorToolbar/components/old/JSFunctionRun.tsx @@ -26,8 +26,8 @@ const DropdownWithCTAWrapper = styled.div` display: flex; gap: var(--ads-v2-spaces-3); - .rc-select-selector { - min-width: unset; + &&&&& .function-select-dropdown { + width: 230px; } `; From bc011f06fa69836315e61986ce28d6d1ef88e0e5 Mon Sep 17 00:00:00 2001 From: Ankita Kinger Date: Tue, 3 Dec 2024 13:27:21 +0530 Subject: [PATCH 2/2] minor change --- .../JSEditor/JSEditorToolbar/components/old/JSFunctionRun.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/client/src/pages/Editor/JSEditor/JSEditorToolbar/components/old/JSFunctionRun.tsx b/app/client/src/pages/Editor/JSEditor/JSEditorToolbar/components/old/JSFunctionRun.tsx index 35e5185f7fb7..c67ff6e363e7 100644 --- a/app/client/src/pages/Editor/JSEditor/JSEditorToolbar/components/old/JSFunctionRun.tsx +++ b/app/client/src/pages/Editor/JSEditor/JSEditorToolbar/components/old/JSFunctionRun.tsx @@ -25,10 +25,6 @@ export interface DropdownWithCTAWrapperProps { const DropdownWithCTAWrapper = styled.div` display: flex; gap: var(--ads-v2-spaces-3); - - &&&&& .function-select-dropdown { - width: 230px; - } `; const OptionWrapper = styled.div`