File tree Expand file tree Collapse file tree 3 files changed +39
-4
lines changed Expand file tree Collapse file tree 3 files changed +39
-4
lines changed Original file line number Diff line number Diff line change @@ -20,8 +20,8 @@ const SwitchAppDropdown = () => {
20
20
21
21
return (
22
22
< Select
23
- className = "react -select-container"
24
- classNamePrefix = "react -select"
23
+ className = "tab -select-container"
24
+ classNamePrefix = "tab -select"
25
25
value = { currTab }
26
26
onChange = { e => {
27
27
dispatch ( setTab ( parseInt ( e . value , 10 ) ) ) ;
Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ function MainContainer() {
50
50
} ) ;
51
51
52
52
if ( ! npmExists ) return < div style = { { color : 'black' } } > please install our npm package in your app</ div > ;
53
+ console . log ( 'tabs' , tabs )
53
54
const { viewIndex, sliderIndex, snapshots } = tabs [ currentTab ] ;
54
55
55
56
// if viewIndex is -1, then use the sliderIndex instead
Original file line number Diff line number Diff line change 6
6
.head-container {
7
7
display : flex ;
8
8
flex-direction : row-reverse ;
9
- justify-content : space-around ;
10
- }
9
+ align-items : center ;
10
+ justify-content : space-between ;
11
+ padding : 5px ;
12
+ }
13
+
14
+ .tab-select-container {
15
+ font-size : 12px ;
16
+ min-width : 90px ;
17
+ margin : 10px ;
18
+ }
19
+
20
+ .tab-select-container {
21
+ .tab-select__control ,
22
+ .tab-select__menu {
23
+ border-style : none ;
24
+ width : 300px ;
25
+ background-color : $light-grey-one ;
26
+ z-index : 2 ;
27
+ @extend %disable-highlight ;
28
+ }
29
+ .tab-select__single-value {
30
+ color : white ;
31
+ }
32
+ .tab-select__option :hover {
33
+ background-color : #2683ff ;
34
+ }
35
+ .tab-select__option--is-selected ,
36
+ .tab-select__option--is-focused {
37
+ background-color : transparent ;
38
+ }
39
+
40
+ // removes the cursor from blinking
41
+ .css-w8afj7-Input {
42
+ color : transparent ;
43
+ }
44
+ }
You can’t perform that action at this time.
0 commit comments