From 027e2a33685e50c2cb16e513993fff62b0d62e08 Mon Sep 17 00:00:00 2001 From: Ankita Kinger Date: Thu, 17 Oct 2024 17:27:58 +0530 Subject: [PATCH] css changes --- .../components/PluginActionSettings/SettingsPopover.tsx | 9 +++++++++ app/client/src/pages/Editor/ActionSettings.tsx | 8 -------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/app/client/src/PluginActionEditor/components/PluginActionSettings/SettingsPopover.tsx b/app/client/src/PluginActionEditor/components/PluginActionSettings/SettingsPopover.tsx index 74a2e45e005..ef4045f0191 100644 --- a/app/client/src/PluginActionEditor/components/PluginActionSettings/SettingsPopover.tsx +++ b/app/client/src/PluginActionEditor/components/PluginActionSettings/SettingsPopover.tsx @@ -33,10 +33,19 @@ const Variables = css` --popover-width: 280px; `; +/* TODO: Remove this after removing custom width from server side (Ankita) */ const SettingsWrapper = styled.div` display: flex; flex-direction: column; gap: var(--ads-v2-spaces-4); + + .t--form-control-INPUT_TEXT, + .t--form-control-DROP_DOWN { + > div { + min-width: unset; + width: 100%; + } + } `; const StyledPopoverHeader = styled(PopoverHeader)` diff --git a/app/client/src/pages/Editor/ActionSettings.tsx b/app/client/src/pages/Editor/ActionSettings.tsx index 9484341c6b3..7b1ce7df8d6 100644 --- a/app/client/src/pages/Editor/ActionSettings.tsx +++ b/app/client/src/pages/Editor/ActionSettings.tsx @@ -29,14 +29,6 @@ const ActionSettingsWrapper = styled.div` margin-left: 24px; } - .t--form-control-INPUT_TEXT, - .t--form-control-DROP_DOWN { - > div { - min-width: unset; - width: 100%; - } - } - .form-config-top { flex-grow: 1; .form-label {