File tree 2 files changed +12
-12
lines changed
2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import Select from "react-select";
7
7
import { Container } from "../../../reusecore/Layout" ;
8
8
import PageHeader from "../../../reusecore/PageHeader" ;
9
9
import { selectStyles , dropdownTheme } from "./membersGrid.style" ;
10
+ import { FilterWrapper } from "./membersGrid.style" ;
10
11
11
12
const Dropdown = ( props ) => {
12
13
return (
@@ -17,16 +18,7 @@ const Dropdown = (props) => {
17
18
subtitle = "A warm and welcoming collection of open sourcers"
18
19
/>
19
20
< Container >
20
- < div
21
- style = { {
22
- display : "flex" ,
23
- position : "relative" ,
24
- alignItems : "center" ,
25
- justifyContent : "flex-end" ,
26
- width : "100%" ,
27
- zIndex : 100
28
- } }
29
- >
21
+ < FilterWrapper >
30
22
< Select
31
23
name = "Filter Members"
32
24
defaultValue = { [ props . defaultOption ] }
@@ -38,8 +30,7 @@ const Dropdown = (props) => {
38
30
theme = { dropdownTheme }
39
31
isMulti
40
32
/>
41
- </ div >
42
-
33
+ </ FilterWrapper >
43
34
< br />
44
35
</ Container >
45
36
</ >
Original file line number Diff line number Diff line change @@ -240,3 +240,12 @@ export const MembersGridWrapper = styled.div`
240
240
}
241
241
}
242
242
` ;
243
+
244
+ export const FilterWrapper = styled . div `
245
+ display: flex;
246
+ position: relative;
247
+ align-items: center;
248
+ justify-content: flex-end;
249
+ width: 100%;
250
+ z-index: 100
251
+ ` ;
You can’t perform that action at this time.
0 commit comments