File tree 2 files changed +18
-3
lines changed
shared/components/task-item
2 files changed +18
-3
lines changed Original file line number Diff line number Diff line change 1
1
// FIXME: specify imported modules (need only some utils-classes)
2
- @import ' ~bootstrap/dist/css/bootstrap.css ' ;
2
+ // FIXME: remove later @import '~bootstrap/scss/_utilities.scss ';
3
3
4
4
// vars
5
5
.app {
48
48
.text-muted {
49
49
color : gray ;
50
50
}
51
+ .text-center {
52
+ text-align : center ;
53
+ }
54
+ .position-relative {
55
+ position : relative ;
56
+ }
57
+ .pt-1 {
58
+ padding-top : 10px ;
59
+ }
51
60
.loading--overlay {
52
61
padding-top : 10px ;
53
62
width : 100% ;
Original file line number Diff line number Diff line change @@ -12,8 +12,14 @@ const TaskItem = (props: Props) => {
12
12
13
13
return (
14
14
< Card className = { cn ( "task-item" , { completed } ) } >
15
- < a className = "task-item__title" href = { `/${ id } ` } > { title } </ a >
16
- < span className = "task-item__author" >
15
+ < a
16
+ className = "task-item__title"
17
+ href = { `/${ id } ` }
18
+ title = { `Author: ${ user . username } \nTitle: ${ title } \nCompleted: ${ completed } ` }
19
+ >
20
+ { title }
21
+ </ a >
22
+ < span className = "task-item__author" >
17
23
< UserOutlined />
18
24
{ user ?. username }
19
25
</ span >
You can’t perform that action at this time.
0 commit comments