Skip to content

Commit 8ab0a74

Browse files
authored
Merge pull request #1001 from pwjablonski/update-project-picker
Update project picker
2 parents 3320a6e + 90bf09a commit 8ab0a74

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

src/components/ProjectPreview.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ export default function ProjectPreview({
2121
key={project.projectKey}
2222
onClick={onProjectSelected}
2323
>
24-
<div className="project-preview__timestamp">
25-
{moment(project.updatedAt).fromNow()}
26-
</div>
2724
<div className="project-preview__label">
2825
{preview.slice(0, MAX_LENGTH)}
2926
</div>
27+
<div className="project-preview__timestamp">
28+
{moment(project.updatedAt).fromNow()}
29+
</div>
3030
</div>
3131
);
3232
}

src/css/application.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,10 @@ body {
251251
/** @define project-preview */
252252

253253
.project-preview__label {
254+
white-space: normal;
255+
}
256+
257+
.project-preview__timestamp {
254258
font-size: 0.8em;
255259
white-space: normal;
256260
}

0 commit comments

Comments
 (0)