Skip to content

Commit b213f64

Browse files
committed
fix minor bugs
1 parent 097a6c0 commit b213f64

File tree

3 files changed

+28
-2
lines changed

3 files changed

+28
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Stors",
3-
"version": "0.3.2",
3+
"version": "0.3.3",
44
"description": "A simple task manager for a day",
55
"homepage": "https://insert.black",
66
"repository": "https://github.com/drecodeam/stors",

src/app/components/home/home.component.html

+3
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525
[class.ticked] = "!!item.isTicked"
2626
[class.active] = "(item.id === currentTaskID)"
2727
>
28+
<div class="play-icon">
29+
<i class="ion ion-ios-play"></i>
30+
</div>
2831
<div class="item-time">{{item.displayTime}}</div>
2932
<div class="item-separator"> | </div>
3033
<div class="item-title">{{item.name}}</div>

src/app/components/home/home.component.scss

+24-1
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,19 @@ $haiti : #170139;
104104
.task-list-item {
105105
position: relative;
106106
overflow: hidden;
107-
padding: 1.5rem 2rem;
107+
padding: 1.5rem 1rem;
108108
color: #f1f1f1;
109109
font-family: $font-sans-serif;
110110
transition: 0.2s all ease-in-out;
111111
line-height: 1.5rem;
112+
113+
.play-icon {
114+
display: inline-block;
115+
padding-right: 1rem;
116+
opacity: 0;
117+
transition: 0.4s all ease-in-out;
118+
}
119+
112120
.done-icon {
113121
position: absolute;
114122
right: 3rem;
@@ -156,9 +164,15 @@ $haiti : #170139;
156164
font-weight: 300;
157165
opacity: 0.8;
158166
padding-left: 0.25rem;
167+
text-overflow: ellipsis;
168+
white-space: nowrap;
169+
overflow: hidden;
170+
vertical-align: middle;
171+
max-width: 220px;
159172
}
160173
.item-progress-bar {
161174
bottom: 15%;
175+
left: 2.5rem;
162176
position: absolute;
163177
overflow: hidden;
164178
background: $pelorous;
@@ -171,6 +185,9 @@ $haiti : #170139;
171185
&.ticked {
172186
text-decoration: line-through;
173187
opacity: 0.25;
188+
.play-icon {
189+
display: none;
190+
}
174191
.active-icon {
175192
display: none;
176193
}
@@ -194,6 +211,9 @@ $haiti : #170139;
194211
.done-icon {
195212
opacity: 1;
196213
}
214+
.play-icon {
215+
opacity: 1;
216+
}
197217
.delete-icon {
198218
opacity: 1;
199219
}
@@ -209,6 +229,9 @@ $haiti : #170139;
209229
.item-separator {
210230
animation: animate-progress 2s linear infinite;
211231
}
232+
.play-icon {
233+
opacity: 1;
234+
}
212235
}
213236
}
214237
}

0 commit comments

Comments
 (0)