From a8e3d71a9ebe51ec0c1717c5c2651d8192a04941 Mon Sep 17 00:00:00 2001 From: Ankita Kinger Date: Tue, 3 Dec 2024 14:10:32 +0530 Subject: [PATCH] fix: Broken UI on JS module instance in the side by side view mode (#37909) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description Fixing the Broken UI on JS module instance in the side by side view mode. Fixes # ## Automation /ok-to-test tags="@tag.IDE" ### :mag: Cypress test results > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: > Commit: bc011f06fa69836315e61986ce28d6d1ef88e0e5 > Cypress dashboard. > Tags: `@tag.IDE` > Spec: >
Tue, 03 Dec 2024 08:32:26 UTC ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [ ] No ## Summary by CodeRabbit - **New Features** - Enhanced flexibility of the dropdown selector in the JS Function Run component by removing the minimum width constraint. - **Bug Fixes** - Adjusted layout to improve the visual adaptability of the dropdown selector based on its content. --- .../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 8567f0d734c9..cbbc13b7afdf 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); - - .rc-select-selector { - min-width: unset; - } `; const OptionWrapper = styled.div`