File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -18,11 +18,21 @@ const SwitchAppDropdown = () => {
18
18
label : tabs [ currentTab ] . title ,
19
19
} ;
20
20
21
+ const customStyles = {
22
+ menu : ( provided , state ) => {
23
+ const outline = state . isSelected ? 'transparent' : 'transparent' ;
24
+ const margin = 0 ;
25
+
26
+ return { ...provided , outline, margin} ;
27
+ }
28
+ }
29
+
21
30
return (
22
31
< Select
23
32
className = "tab-select-container"
24
33
classNamePrefix = "tab-select"
25
34
value = { currTab }
35
+ styles = { customStyles }
26
36
onChange = { e => {
27
37
dispatch ( setTab ( parseInt ( e . value , 10 ) ) ) ;
28
38
} }
Original file line number Diff line number Diff line change 14
14
font : 300 14px ' Roboto' , sans-serif ;
15
15
font-size : $button-text-size ;
16
16
width : 120px ;
17
- background-color : transparent ;
17
+ background : linear-gradient ( 145 deg , #ff6569 , #e65558 ) ;
18
18
}
19
19
.empty-button :hover {
20
20
color : black ;
21
- background : linear-gradient (145deg , #ff6569 , #e65558 );
22
21
box-shadow : inset 5px 5px 10px #d95053 , inset -5px -5px 10px #ff6c71 ;
23
22
}
24
23
You can’t perform that action at this time.
0 commit comments