6
6
CustomInput ,
7
7
InfoColourBar ,
8
8
} from '@devtron-labs/devtron-fe-common-lib'
9
- import Select , { components } from 'react-select'
9
+ import Select from 'react-select'
10
10
import { SingleDatePicker } from 'react-dates'
11
11
import 'react-dates/initialize'
12
12
import 'react-dates/lib/css/_datepicker.css'
@@ -31,12 +31,8 @@ import { multiSelectStyles } from '../../../../../common/ReactSelectCustomizatio
31
31
import { customDayStyles } from '../../../../../../common'
32
32
import { CustomLogFilterOptionsType , SelectedCustomLogFilterType } from '../node.type'
33
33
34
- const DropdownIndicator = ( props ) => {
35
- return (
36
- < components . DropdownIndicator { ...props } >
37
- < ClockIcon className = "icon-dim-16" />
38
- </ components . DropdownIndicator >
39
- )
34
+ const DropdownIndicator = ( ) => {
35
+ return < ClockIcon className = "icon-dim-16 ml-8" />
40
36
}
41
37
42
38
const getNearestTimeOptionBeforeNow = ( ) => {
@@ -235,10 +231,17 @@ export const InputForSelectedOption = ({
235
231
styles = { {
236
232
control : ( base ) => ( {
237
233
...base ,
234
+ display : 'flex' ,
235
+ flexDirection : 'row-reverse' ,
238
236
border : '1px solid var(--N200)' ,
239
237
borderRadius : '4px' ,
240
238
boxShadow : 'none' ,
241
239
cursor : 'pointer' ,
240
+ backgroundColor : 'var(--N50)' ,
241
+ } ) ,
242
+ valueContainer : ( base ) => ( {
243
+ ...base ,
244
+ padding : '0px 4px' ,
242
245
} ) ,
243
246
} }
244
247
isOptionDisabled = { ( option ) => option . isdisabled }
0 commit comments