Skip to content

Commit 6199d39

Browse files
ToBinioTurbo87
authored andcommitted
adding style
1 parent 23ed444 commit 6199d39

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

app/components/version-list/row.hbs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,12 @@
5454
{{svg-jar "calendar"}}
5555
{{date-format-distance-to-now @version.created_at addSuffix=true}}
5656

57-
<EmberTooltip @text={{date-format @version.created_at 'PPP'}} />
57+
<EmberTooltip>
58+
{{date-format @version.created_at 'PPP'}}
59+
{{#if @version.isNew}}
60+
(<mark local-class="new">recent</mark>)
61+
{{/if}}
62+
</EmberTooltip>
5863
</time>
5964
</div>
6065

app/components/version-list/row.module.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,11 @@
190190
}
191191
}
192192

193+
mark.new{
194+
background-color: transparent;
195+
color: hsl(39, 98%, 47%);
196+
}
197+
193198
.msrv {
194199
text-transform: initial;
195200

0 commit comments

Comments
 (0)