File tree Expand file tree Collapse file tree 1 file changed +32
-14
lines changed Expand file tree Collapse file tree 1 file changed +32
-14
lines changed Original file line number Diff line number Diff line change @@ -71,10 +71,16 @@ export const TaskWrapper = styled.div`
71
71
background-color: #fff;
72
72
position: relative;
73
73
74
+ &:hover {
75
+ .delete {
76
+ display: block;
77
+ }
78
+ }
79
+
74
80
.delete {
81
+ display: none;
75
82
width: 18px;
76
83
height: 18px;
77
- display: inline-block;
78
84
border-radius: 50%;
79
85
background-color: #f173ac;
80
86
line-height: 16px;
@@ -112,23 +118,35 @@ export const TaskWrapper = styled.div`
112
118
text-align: center;
113
119
line-height: 30px;
114
120
background-color: #fff;
115
- }
116
- .delete {
117
- width: 18px;
118
- height: 18px;
119
- display: block;
120
- border-radius: 50%;
121
- background-color: #f173ac;
122
- line-height: 16px;
123
- color: #fff;
124
- margin-left: 140px;
125
- margin-top: -10px;
121
+ position: relative;
122
+
126
123
&:hover {
127
- cursor: pointer;
124
+ .delete {
125
+ display: block;
126
+ }
127
+ }
128
+
129
+ .delete {
130
+ display: none;
131
+ width: 18px;
132
+ height: 18px;
133
+ border-radius: 50%;
134
+ background-color: #f173ac;
135
+ line-height: 16px;
136
+ color: #fff;
137
+ left: 140px;
138
+ top: -10px;
139
+ position: absolute;
140
+
141
+ &:hover {
142
+ cursor: pointer;
143
+ background-color: #d93a49;
144
+ }
128
145
}
129
146
}
147
+
130
148
&::before {
131
- content: "Complete ";
149
+ content: "Learning ";
132
150
background-color: #e2e2e2;
133
151
display: block;
134
152
margin-top: -50px;
You can’t perform that action at this time.
0 commit comments