diff --git a/frontend/src/AppBuilder/RightSideBar/Inspector/EventManager.jsx b/frontend/src/AppBuilder/RightSideBar/Inspector/EventManager.jsx index 1b59da6844..1de3e5f9dc 100644 --- a/frontend/src/AppBuilder/RightSideBar/Inspector/EventManager.jsx +++ b/frontend/src/AppBuilder/RightSideBar/Inspector/EventManager.jsx @@ -32,6 +32,8 @@ import useStore from '@/AppBuilder/_stores/store'; import { useEventActions, useEvents } from '@/AppBuilder/_stores/slices/eventsSlice'; import ToggleGroup from '@/ToolJetUI/SwitchGroup/ToggleGroup'; import ToggleGroupItem from '@/ToolJetUI/SwitchGroup/ToggleGroupItem'; +import SolidIcon from '@/_ui/Icon/SolidIcons'; +import { components as selectComponents } from 'react-select'; export const EventManager = ({ sourceId, @@ -137,6 +139,37 @@ export const EventManager = ({ menuList: (base) => ({ ...base, }), + }; + + const actionStyles = { + ...styles, + menuList: (base) => ({ + ...base, + padding: '8px 0 8px 8px', + '&::-webkit-scrollbar': { + width: '10px', + }, + '&::-webkit-scrollbar-track': { + background: 'transparent', + }, + '&::-webkit-scrollbar-thumb': { + background: '#E4E7EB', + border: '1px solid transparent', + backgroundClip: 'content-box', + }, + '&::-webkit-scrollbar-thumb:hover': { + background: '#E4E7EB !important', + border: '1px solid transparent !important', + backgroundClip: 'content-box !important', + }, + '&:hover': { + '&::-webkit-scrollbar-thumb': { + background: '#E4E7EB !important', + border: '1px solid transparent !important', + backgroundClip: 'content-box !important', + }, + }, + }), group: (base) => ({ ...base, padding: 0, @@ -144,7 +177,7 @@ export const EventManager = ({ groupHeading: (base) => ({ ...base, margin: 0, - padding: '0 10px', + padding: '0', }), }; @@ -422,12 +455,25 @@ export const EventManager = ({ if (data.label === 'run-action') return; return (
); }; + const CustomOption = (props) => { + return ( +