Hoverable "joined" fields on user pages (#555)

This commit is contained in:
UbiOne
2022-07-16 21:03:56 +02:00
committed by GitHub
parent a9acc55735
commit 40b3f39249
3 changed files with 12 additions and 1 deletions

View File

@@ -310,6 +310,7 @@ export default {
display: flex;
align-items: center;
margin-right: 2rem;
cursor: default;
svg {
width: 1.25rem;

View File

@@ -960,6 +960,7 @@ export default {
display: flex;
align-items: center;
margin-bottom: 0.25rem;
cursor: default;
.label {
margin-right: 0.25rem;

View File

@@ -31,7 +31,12 @@
<div class="sidebar__item stats-block">
<div class="stats-block__item secondary-stat">
<SunriseIcon class="secondary-stat__icon" aria-hidden="true" />
<span class="secondary-stat__text">
<span
v-tooltip="
$dayjs(user.created).format('MMMM D, YYYY [at] h:mm:ss A')
"
class="secondary-stat__text date"
>
Joined {{ $dayjs(user.created).fromNow() }}
</span>
</div>
@@ -328,4 +333,8 @@ export default {
font-size: var(--font-size-lg);
font-weight: bold;
}
.date {
cursor: default;
}
</style>