Skip to content

Commit b9c20ac

Browse files
committed
Updates to the new smart-css (missed updates).
1 parent f8f2873 commit b9c20ac

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/ui/Task.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,21 @@ css.setClass('.root', {
2020
fontFamily : 'sans-serif',
2121
transition : 'all 0.2s',
2222
color : 'hsl(0, 0%, 20%)',
23-
':hover': {
24-
background: 'hsl(139, 56%, 90%)',
25-
}
2623
})
24+
css.setClass('.root:hover', {
25+
background: 'hsl(139, 56%, 90%)',
26+
});
2727

2828

2929

3030
css.setClass('.completed', {
3131
background : 'hsl(139, 56%, 50%)',
3232
color : 'hsl(0, 100%, 100%)',
3333
borderBottom : '1px solid hsl(0, 100%, 100%)',
34-
':hover': {
35-
background: 'hsl(139, 56%, 60%)'
36-
}
3734
})
35+
css.setClass('.completed:hover', {
36+
background: 'hsl(139, 56%, 60%)'
37+
});
3838

3939

4040

0 commit comments

Comments
 (0)