File tree Expand file tree Collapse file tree 1 file changed +27
-4
lines changed Expand file tree Collapse file tree 1 file changed +27
-4
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,13 @@ storiesOf('Misc/Actions', module)
20
20
const data = { nodes } ;
21
21
22
22
const theme = useTheme ( {
23
+ Row : `
24
+ &:hover {
25
+ .td:nth-of-type(5) button {
26
+ opacity: 1;
27
+ }
28
+ }
29
+ ` ,
23
30
BaseCell : `
24
31
&:nth-of-type(1), &:nth-of-type(3), &:nth-of-type(4), &:nth-of-type(5) {
25
32
min-width: 10%;
@@ -35,6 +42,12 @@ storiesOf('Misc/Actions', module)
35
42
}
36
43
}
37
44
45
+ &:nth-of-type(5) {
46
+ button {
47
+ opacity: 0;
48
+ }
49
+ }
50
+
38
51
&:nth-of-type(6) {
39
52
flex: 1;
40
53
}
@@ -82,15 +95,13 @@ storiesOf('Misc/Actions', module)
82
95
< div
83
96
style = { {
84
97
display : 'flex' ,
85
- justifyContent : 'space-between' ,
86
98
alignItems : 'center' ,
87
99
} }
88
100
>
89
- < span > { item . type } </ span >
101
+ < span style = { { marginRight : '4px' } } > { item . type } </ span >
90
102
< button > B</ button >
91
103
</ div >
92
104
</ Cell >
93
- < Cell > { item . isComplete . toString ( ) } </ Cell >
94
105
< Cell >
95
106
< div
96
107
style = { {
@@ -99,10 +110,22 @@ storiesOf('Misc/Actions', module)
99
110
alignItems : 'center' ,
100
111
} }
101
112
>
102
- < span > { item . nodes ?. length } </ span >
113
+ < span > { item . isComplete . toString ( ) } </ span >
103
114
< button > C</ button >
104
115
</ div >
105
116
</ Cell >
117
+ < Cell >
118
+ < div
119
+ style = { {
120
+ display : 'flex' ,
121
+ justifyContent : 'space-between' ,
122
+ alignItems : 'center' ,
123
+ } }
124
+ >
125
+ < span > { item . nodes ?. length } </ span >
126
+ < button > D</ button >
127
+ </ div >
128
+ </ Cell >
106
129
</ Row >
107
130
) ) }
108
131
</ Body >
You can’t perform that action at this time.
0 commit comments