File tree Expand file tree Collapse file tree 4 files changed +21
-3
lines changed
__tests__/shared/components/__snapshots__
challenge-listing/Filters/FiltersPanel Expand file tree Collapse file tree 4 files changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,10 @@ exports[`Matches shallow shapshot 1`] = `
4
4
<Select
5
5
addLabelText = " Add \\" { label } \\"?"
6
6
arrowRenderer = { [Function ]}
7
- autosize = { true }
7
+ autosize = { false }
8
8
backspaceRemoves = { true }
9
9
backspaceToRemoveMessage = " Press backspace to remove {label}"
10
+ className = " src-shared-components-Select-___style__select___oXBnl"
10
11
clearAllText = " Clear all"
11
12
clearRenderer = { [Function ]}
12
13
clearValueText = " Clear value"
Original file line number Diff line number Diff line change @@ -3,11 +3,17 @@ import PT from 'prop-types';
3
3
4
4
import ReactSelect from 'react-select' ;
5
5
import 'react-select/dist/react-select.css' ;
6
+ import style from './style.scss' ;
6
7
7
8
/* TODO: Do we really need the instanceId? */
8
9
export default function Select ( props ) {
9
10
return (
10
- < ReactSelect { ...props } instanceId = { props . id } />
11
+ < ReactSelect
12
+ { ...props }
13
+ autosize = { false }
14
+ className = { style . select }
15
+ instanceId = { props . id }
16
+ />
11
17
) ;
12
18
}
13
19
Original file line number Diff line number Diff line change
1
+ .select {
2
+ :global {
3
+ input.Select- input {
4
+ margin-left : 0 !important ;
5
+ padding-right : 6px !important ;
6
+ }
7
+
8
+ .Select-multi-value-wrapper {
9
+ width : 100% !important ;
10
+ }
11
+ }
12
+ }
Original file line number Diff line number Diff line change @@ -365,7 +365,6 @@ $panel-radius-4: $corner-radius * 2;
365
365
366
366
input {
367
367
font-size : 15px ;
368
- padding : 0 ;
369
368
}
370
369
}
371
370
You can’t perform that action at this time.
0 commit comments