Skip to content

Commit 4e54d5f

Browse files
committed
1 parent 9aefafd commit 4e54d5f

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed

examples/graphql/src/app/index.scss

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// 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';
33

44
// vars
55
.app {
@@ -48,6 +48,15 @@ body,
4848
.text-muted {
4949
color: gray;
5050
}
51+
.text-center {
52+
text-align: center;
53+
}
54+
.position-relative {
55+
position: relative;
56+
}
57+
.pt-1 {
58+
padding-top: 10px;
59+
}
5160
.loading--overlay {
5261
padding-top: 10px;
5362
width: 100%;

examples/graphql/src/shared/components/task-item/index.tsx

+8-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,14 @@ const TaskItem = (props: Props) => {
1212

1313
return (
1414
<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">
1723
<UserOutlined />
1824
{user?.username}
1925
</span>

0 commit comments

Comments
 (0)